call glFinish if drawing to front buffer
This commit is contained in:
parent
b2404b132d
commit
1ad6e08090
|
@ -71,7 +71,9 @@ static void Display( void )
|
|||
glDisable(GL_SCISSOR_TEST);
|
||||
glDisable(GL_FOG);
|
||||
|
||||
if (!DrawFront)
|
||||
if (DrawFront)
|
||||
glFinish();
|
||||
else
|
||||
glutSwapBuffers();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue