mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
egl: Make eglscreen sleep for five seconds
This commit is contained in:
parent
b6b619c6ff
commit
94ddd621d1
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue