summaryrefslogtreecommitdiff
path: root/progs/egl
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-01-18 13:40:24 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-01-18 13:40:24 +0100
commit94ddd621d13310aca229ab64a86aee3d4db680e8 (patch)
treee4a9155360bf681e4313b1b73f26f295bcef3a17 /progs/egl
parentb6b619c6ffadfd93281073317e19fb90fc68a1c0 (diff)
egl: Make eglscreen sleep for five seconds
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/eglscreen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/egl/eglscreen.c b/progs/egl/eglscreen.c
index f3b7f04f96..c0b5a210a4 100644
--- a/progs/egl/eglscreen.c
+++ b/progs/egl/eglscreen.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include <GL/gl.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
@@ -109,6 +110,8 @@ main(int argc, char *argv[])
return 0;
}
+ usleep(5000000);
+
eglDestroySurface(d, screen_surf);
eglTerminate(d);