summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-04 15:11:56 -0700
committerBrian Paul <[email protected]>2008-11-04 16:55:18 -0700
commitd3222cb1d465cf49ff5b2119f7515c5f57024964 (patch)
treecf52f4975cf922c2bd1c16889de78cd38976c414
parent4be624d693554ad3950afab90e331a6725cc5004 (diff)
remove old debug glFlush/Finish calls from demos
-rw-r--r--progs/glsl/bump.c3
-rw-r--r--progs/glsl/convolutions.c2
-rw-r--r--progs/glsl/mandelbrot.c2
-rw-r--r--progs/glsl/toyball.c2
4 files changed, 0 insertions, 9 deletions
diff --git a/progs/glsl/bump.c b/progs/glsl/bump.c
index a2e0916861c..b93ab44b5b9 100644
--- a/progs/glsl/bump.c
+++ b/progs/glsl/bump.c
@@ -141,9 +141,6 @@ Redisplay(void)
glPopMatrix();
- glFinish();
- glFlush();
-
CheckError(__LINE__);
glutSwapBuffers();
diff --git a/progs/glsl/convolutions.c b/progs/glsl/convolutions.c
index 13c7eab0ea9..c5caa8ffedf 100644
--- a/progs/glsl/convolutions.c
+++ b/progs/glsl/convolutions.c
@@ -438,8 +438,6 @@ static void draw()
glPopMatrix();
- glFlush();
-
glutSwapBuffers();
}
diff --git a/progs/glsl/mandelbrot.c b/progs/glsl/mandelbrot.c
index e6361b429b3..24e19926655 100644
--- a/progs/glsl/mandelbrot.c
+++ b/progs/glsl/mandelbrot.c
@@ -74,8 +74,6 @@ Redisplay(void)
glPopMatrix();
- glFinish();
- glFlush();
glutSwapBuffers();
}
diff --git a/progs/glsl/toyball.c b/progs/glsl/toyball.c
index 2daaedd6df8..37ad6bf2914 100644
--- a/progs/glsl/toyball.c
+++ b/progs/glsl/toyball.c
@@ -79,8 +79,6 @@ Redisplay(void)
glPopMatrix();
- glFinish();
- glFlush();
glutSwapBuffers();
}