projects
/
platform
/
upstream
/
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
82d32b0
..
d2f5748
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();
}