andykorth / Pencil.Gaming

An open-source, cross-platform gaming library for C# with bindings for OpenGL, OpenAL, and GLFW.
136 stars 35 forks source link

GLFW 3 Glfw.GetCursorPos() not working #8

Closed piranha771 closed 11 years ago

piranha771 commented 11 years ago

Hi,the Glfw.GetCursorPos() function uses 'int' as out parameters. Glfw 3 uses doubles now. I think that is the reason why I'm only getting zeros from it.

Maybe you want to have a look at this thread: http://www.gamedev.net/topic/645324-glfw-3-getcursorpos-only-zero/

And thanks for this great lib. I think it's the only game lib for C# if you don't want to use the outdated OpenTK. Keep on the good work! :)

antonijn commented 11 years ago

Okay, will start working on a fix now.