egl: Make eglscreen sleep for five seconds

This commit is contained in:
Jakob Bornecrantz 2009-01-18 13:40:24 +01:00
parent b6b619c6ff
commit 94ddd621d1

View file

@ -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);