poll events before rendering

This commit is contained in:
2025-03-22 12:16:51 -05:00
parent 92294c3166
commit bfee8536a8
3 changed files with 6 additions and 6 deletions

View File

@@ -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);
}