diff options
author | Jakob Bornecrantz <[email protected]> | 2009-01-18 13:40:24 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-01-18 13:40:24 +0100 |
commit | 94ddd621d13310aca229ab64a86aee3d4db680e8 (patch) | |
tree | e4a9155360bf681e4313b1b73f26f295bcef3a17 /progs/egl | |
parent | b6b619c6ffadfd93281073317e19fb90fc68a1c0 (diff) |
egl: Make eglscreen sleep for five seconds
Diffstat (limited to 'progs/egl')
-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 f3b7f04f96c..c0b5a210a4a 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); |