X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=apps%2Fegl%2Fgles1%2Fclear.c;fp=apps%2Fegl%2Fgles1%2Fclear.c;h=ce1ba46f84d278ed089a86ddeca4a6ef7312d5bb;hb=ce8d26ecebe771ab246075f5782dd440c56dcea8;hp=9fe1b5291e1905fd6fe572063ed707d59ce45a81;hpb=c40e80b266adafc32558599446b72b89e5cfd3f9;p=apitrace-tests diff --git a/apps/egl/gles1/clear.c b/apps/egl/gles1/clear.c index 9fe1b52..ce1ba46 100644 --- a/apps/egl/gles1/clear.c +++ b/apps/egl/gles1/clear.c @@ -43,10 +43,18 @@ typedef void (GL_APIENTRY *type_Clear)(GLbitfield mask); static type_ClearColor fn_ClearColor; static type_Clear fn_Clear; +static void +idle(void) +{ + exit(0); +} + static void draw(void) { fn_Clear(GL_COLOR_BUFFER_BIT); + + eglutIdleFunc(idle); } static void *