poll events before rendering
This commit is contained in:
@@ -28,11 +28,6 @@ namespace Archimedes {
|
||||
return glfwWindowShouldClose(w);
|
||||
}
|
||||
|
||||
void WindowGLFW::doFrame() {
|
||||
glfwPollEvents();
|
||||
glfwSwapBuffers(w);
|
||||
}
|
||||
|
||||
void WindowGLFW::getSize(int& w, int& h) {
|
||||
glfwGetFramebufferSize(this->w, &w, &h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user