opengl: disable vsync
This way I can better watch how changes affect FPS/frame times, rather than have it capped at 60FPS/16.6ms Does not introduce visible tearing. The engine runs at about 170 FPS on my Tesla M40, and so does minecraft. It never goes past that, I think this is a limitation of using prime offloading. Runs at 300FPS on average on the Radeon HD6850 to which I normally offload the Tesla topull/1/head
parent
47543c9101
commit
3daf994ac3
|
@ -44,6 +44,7 @@ int main()
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
glfwMakeContextCurrent(window);
|
glfwMakeContextCurrent(window);
|
||||||
|
glfwSwapInterval(0);
|
||||||
|
|
||||||
if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress))
|
if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue