diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 6a71b28e17..85ce6a486f 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -797,6 +797,11 @@ bool RageDisplay_OGL::BeginFrame() void RageDisplay_OGL::EndFrame() { + // Give up the CPU to the OpenGL host if it wants it; in any case, make + // sure the frame is done. This helps graphics smoothness a lot by + // making sure we get the most out of each frame. + glFinish(); + wind->SwapBuffers(); ProcessStatsOnFlip(); }