This commit is contained in:
Zengtudor 2024-09-06 17:32:07 +08:00
parent c707eff1ad
commit ef847334aa

View File

@ -81,7 +81,7 @@ int main(){
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
render(); render();
glfwSwapBuffers(window); glfwSwapBuffers(window);
// std::this_thread::sleep_for(std::chrono::milliseconds(1000/F_PER_SECOND)); std::this_thread::sleep_for(std::chrono::milliseconds(1000/F_PER_SECOND));
glfwPollEvents(); glfwPollEvents();
} }
return 0; return 0;