From 94ddd621d13310aca229ab64a86aee3d4db680e8 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 18 Jan 2009 13:40:24 +0100 Subject: [PATCH] egl: Make eglscreen sleep for five seconds --- progs/egl/eglscreen.c | 3 +++ 1 file changed, 3 insertions(+) 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 #include #include +#include #include #include #include @@ -109,6 +110,8 @@ main(int argc, char *argv[]) return 0; } + usleep(5000000); + eglDestroySurface(d, screen_surf); eglTerminate(d); -- 2.30.2