View previous topic :: View next topic |
Author |
Message |
ParticlePeter
Joined: 19 Nov 2011 Posts: 49 Location: Germany
|
Posted: Sun Jul 08, 2012 7:11 pm Post subject: Wrong function glfwGetCursorPos instead of glfwGetMousePos |
|
|
Hi Aldacron,
Me and my compiler we couldn't find glfwGetMousePos in the current Derelict Trunk, and my linker can't find glfwGetCursorPos in the glfw.dll. The same is true for the setter versions of those functions. When replacing the corresponding function names, everything works again. _________________ Cheers, searching for the Pivot of my Soul, PP |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sun Jul 08, 2012 9:10 pm Post subject: |
|
|
glfwGetCursorPos is the correct function. It was changed in the glfw repository some time ago. You need to update your copy of the glfw dll. Keep in mind the glfw3 is still a moving target and has not been officially released yet. The API is quite likely to change again (for example, there's been talk of removing immediate mode event calls, like glfwGetKey). My goal is to keep the binding up to date with the current glfw master. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
ParticlePeter
Joined: 19 Nov 2011 Posts: 49 Location: Germany
|
Posted: Thu Jul 12, 2012 4:40 pm Post subject: |
|
|
Hi Aldacron,
now I am confused, I am using the current glfw git trunc, have updated just right now ( which I have done before posting the thread as well ), but I can't find glfwGetCursorPos anywhere. Could you post the git adress of your glfw version here please ? Mine is: git://glfw.git.sourceforge.net/gitroot/glfw/glfw _________________ Cheers, searching for the Pivot of my Soul, PP |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
|
Back to top |
|
|
ParticlePeter
Joined: 19 Nov 2011 Posts: 49 Location: Germany
|
Posted: Fri Jul 13, 2012 5:01 am Post subject: |
|
|
O.K., sorry, I've got the right repo now, and everything works fine, thanks. _________________ Cheers, searching for the Pivot of my Soul, PP |
|
Back to top |
|
|
|