Closed CaioIcy closed 9 years ago
I just saw that this has already been addressed, but by a pull request. I'll leave this issue here, since it explains why the change should be made.
I'll change it to this in the upcoming maintenance episode (Ep. 20).
Hello,
inside Window::init() you call glfwSetWindowSizeCallback to use glViewport in the callback.
In GLFW's documentation they say why you shouldn't use that function:
So you should change glfwSetWindowSizeCallback to glfwSetFramebufferSizeCallback, which will be correct.