mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +00:00
Replaced event poll with wait in gamma test.
This commit is contained in:
parent
c9167ce233
commit
20ccf0bc60
@ -170,7 +170,7 @@ int main(int argc, char** argv)
|
|||||||
glRectf(-0.5f, -0.5f, 0.5f, 0.5f);
|
glRectf(-0.5f, -0.5f, 0.5f, 0.5f);
|
||||||
|
|
||||||
glfwSwapBuffers(window);
|
glfwSwapBuffers(window);
|
||||||
glfwPollEvents();
|
glfwWaitEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
|
Loading…
Reference in New Issue
Block a user