From 6c3d1cfab9d21cd638854e0900d8bc17c4ebce9e Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 18 May 2010 16:51:46 +0100 Subject: [PATCH] clutter-stage-egl.c: Don't call eglWait*() According to the docs, eglSwapBuffers performs an implicit glFlush before swapping so there should be no need to wait. --- clutter/eglx/clutter-stage-egl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/clutter/eglx/clutter-stage-egl.c b/clutter/eglx/clutter-stage-egl.c index 720be5a91..667e6bec5 100644 --- a/clutter/eglx/clutter-stage-egl.c +++ b/clutter/eglx/clutter-stage-egl.c @@ -229,10 +229,8 @@ clutter_stage_egl_redraw (ClutterStageEGL *stage_egl, g_assert (CLUTTER_IS_STAGE_EGL (impl)); stage_egl = CLUTTER_STAGE_EGL (impl); - eglWaitNative (EGL_CORE_NATIVE_ENGINE); clutter_actor_paint (CLUTTER_ACTOR (stage_x11->wrapper)); cogl_flush (); - eglWaitGL (); eglSwapBuffers (backend_egl->edpy, stage_egl->egl_surface); }