diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-18 13:40:24 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-18 13:40:24 +0100 |
commit | 94ddd621d13310aca229ab64a86aee3d4db680e8 (patch) | |
tree | e4a9155360bf681e4313b1b73f26f295bcef3a17 | |
parent | b6b619c6ffadfd93281073317e19fb90fc68a1c0 (diff) |
egl: Make eglscreen sleep for five seconds
-rw-r--r-- | progs/egl/eglscreen.c | 3 |
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); |