summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-07-08 17:36:07 -0600
committerTavian Barnes <tavianator@gmail.com>2010-07-08 17:36:07 -0600
commit733b039a73ac2cfbb0e088d968c1223a170e1dff (patch)
tree347281682335a12322d28071a5711e5dd5929a25
parente79cd65fe4c844167252913159fa77e13a4712ba (diff)
downloaddimension-733b039a73ac2cfbb0e088d968c1223a170e1dff.tar.xz
Don't sleep(1) in GL test.
-rw-r--r--tests/libdimension/gl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/libdimension/gl.c b/tests/libdimension/gl.c
index 97b3e99..119f65d 100644
--- a/tests/libdimension/gl.c
+++ b/tests/libdimension/gl.c
@@ -80,11 +80,8 @@ main()
fprintf(stderr, "--- Drawing to OpenGL failed! ---\n");
return EXIT_FAILURE;
}
+
dmnsn_display_flush(display);
dmnsn_delete_canvas(canvas);
-
- /* Show the image on the screen for a bit */
- sleep(1);
-
return EXIT_SUCCESS;
}