projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2404b1
)
call glFinish if drawing to front buffer
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 29 Sep 2005 18:46:27 +0000
(18:46 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 29 Sep 2005 18:46:27 +0000
(18:46 +0000)
progs/demos/drawpix.c
patch
|
blob
|
history
diff --git
a/progs/demos/drawpix.c
b/progs/demos/drawpix.c
index 82d32b0705c29b8a1204c81f7fe4d4bd06704ad9..d2f57486744ecb5b98b80da050b0cd270983542f 100644
(file)
--- 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();
}