Skip to content

Commit

Permalink
GL: Don't block until GL finished before frame update
Browse files Browse the repository at this point in the history
Instead, just ask for the GL driver to flush its buffers.
  • Loading branch information
skyjake committed May 7, 2012
1 parent a8b4eb0 commit ff5bbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/gl_main.c
Expand Up @@ -223,7 +223,7 @@ void GL_DoUpdate(void)

// Wait until the right time to show the frame so that the realized
// frame rate is exactly right.
glFinish();
glFlush();
DD_WaitForOptimalUpdateTime();

// Blit screen to video.
Expand Down

0 comments on commit ff5bbca

Please sign in to comment.