projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59ce90
)
added glFinish with comment
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 3 Mar 2003 03:14:25 +0000
(
03:14
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 3 Mar 2003 03:14:25 +0000
(
03:14
+0000)
progs/demos/osdemo.c
patch
|
blob
|
history
diff --git
a/progs/demos/osdemo.c
b/progs/demos/osdemo.c
index 25632bc276003d02cd88442085990d1473606c32..22321cc10f1a135e388f77508a860aa2ecd85088 100644
(file)
--- a/
progs/demos/osdemo.c
+++ b/
progs/demos/osdemo.c
@@
-1,4
+1,4
@@
-/* $Id: osdemo.c,v 1.
9 2002/07/12 15:54:19
brianp Exp $ */
+/* $Id: osdemo.c,v 1.
10 2003/03/03 03:14:25
brianp Exp $ */
/*
* Demo of off-screen Mesa rendering
@@
-139,6
+139,11
@@
static void render_image( void )
glPopMatrix();
+ /* This is very important!!!
+ * Make sure buffered commands are finished!!!
+ */
+ glFinish();
+
Frames++;
if (perf) {
GLint t = glutGet(GLUT_ELAPSED_TIME);