opengl-tutorials / ogl

http://www.opengl-tutorial.org
2.69k stars 925 forks source link

the camera was terrible on Linux. Fixed that #100

Open billsix opened 4 years ago

billsix commented 4 years ago

Perhaps this is a GLFW implementation thing, but on Linux, the camera ended up in a random location for all demos; to the point that this demo code was unusable. This commit fixes that, and I have verified that on Windows it still works for at least demo 08, and I am confident that this fix makes no changes on anything other than the first frame.