diff options
-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); |