mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
call glFinish if drawing to front buffer
This commit is contained in:
parent
b2404b132d
commit
1ad6e08090
1 changed files with 3 additions and 1 deletions
|
|
@ -71,7 +71,9 @@ static void Display( void )
|
|||
glDisable(GL_SCISSOR_TEST);
|
||||
glDisable(GL_FOG);
|
||||
|
||||
if (!DrawFront)
|
||||
if (DrawFront)
|
||||
glFinish();
|
||||
else
|
||||
glutSwapBuffers();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue