projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b619c
)
egl: Make eglscreen sleep for five seconds
author
Jakob Bornecrantz
<wallbraker@gmail.com>
Sun, 18 Jan 2009 12:40:24 +0000
(13:40 +0100)
committer
Jakob Bornecrantz
<wallbraker@gmail.com>
Sun, 18 Jan 2009 12:40:24 +0000
(13:40 +0100)
progs/egl/eglscreen.c
patch
|
blob
|
history
diff --git
a/progs/egl/eglscreen.c
b/progs/egl/eglscreen.c
index f3b7f04f96c1c423cc7c79610be59ff16978f2e3..c0b5a210a4abb023512bdea6a4a0259c166f81d5 100644
(file)
--- 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);