summaryrefslogtreecommitdiffstats
path: root/progs/miniglx/miniglxtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/miniglx/miniglxtest.c')
-rw-r--r--progs/miniglx/miniglxtest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/progs/miniglx/miniglxtest.c b/progs/miniglx/miniglxtest.c
index 4c5118f3684..85c25be4ed5 100644
--- a/progs/miniglx/miniglxtest.c
+++ b/progs/miniglx/miniglxtest.c
@@ -14,7 +14,6 @@
#else
#include <GL/glx.h>
#endif
-#include "../util/writebuf.c"
static GLXContext ctx;
@@ -132,10 +131,6 @@ event_loop(Display *dpy, Window win)
for (i = 0; i < NumFrames; i++) {
redraw(dpy, win, -i*2);
- if (i == 1) {
- glReadBuffer(GL_BACK);
- WritePPMFile("frame1.ppm", 800,600);
- }
if (Sleeps) {
usleep(20000);
}