commit | 1ad6e0809069833f17578a9751ac8408362d410c | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Thu Sep 29 18:46:27 2005 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Thu Sep 29 18:46:27 2005 +0000 |
tree | 16d793624fadb4387ef42be38b23c6cae34c016f | |
parent | b2404b132dd7fc1058851d56414f9c1be17f0a2f [diff] [blame] |
call glFinish if drawing to front buffer
diff --git a/progs/demos/drawpix.c b/progs/demos/drawpix.c index 82d32b0..d2f5748 100644 --- a/progs/demos/drawpix.c +++ b/progs/demos/drawpix.c
@@ -71,7 +71,9 @@ glDisable(GL_SCISSOR_TEST); glDisable(GL_FOG); - if (!DrawFront) + if (DrawFront) + glFinish(); + else glutSwapBuffers(); }