compositor-wayland: Use glFlush() not glFinish() after rendering frame
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 1 Dec 2010 14:40:58 +0000 (09:40 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 1 Dec 2010 14:40:58 +0000 (09:40 -0500)
compositor/compositor-wayland.c

index 85010b6..e5d0d84 100644 (file)
@@ -177,7 +177,8 @@ wayland_compositor_present(struct wlsc_compositor *base)
        struct timeval tv;
        uint32_t msec;
 
-       glFinish();
+       glFlush();
+
        wl_list_for_each(output, &base->output_list, base.link) {
                output->current ^= 1;