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.
This commit is contained in:
Neil Roberts 2010-05-18 16:51:46 +01:00
parent 871683abd3
commit 6c3d1cfab9

View File

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