From: Brian Paul Date: Thu, 29 Sep 2005 18:46:27 +0000 (+0000) Subject: call glFinish if drawing to front buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ad6e0809069833f17578a9751ac8408362d410c;p=mesa.git call glFinish if drawing to front buffer --- diff --git a/progs/demos/drawpix.c b/progs/demos/drawpix.c index 82d32b0705c..d2f57486744 100644 --- a/progs/demos/drawpix.c +++ b/progs/demos/drawpix.c @@ -71,7 +71,9 @@ static void Display( void ) glDisable(GL_SCISSOR_TEST); glDisable(GL_FOG); - if (!DrawFront) + if (DrawFront) + glFinish(); + else glutSwapBuffers(); }