compositor-wayland: Use glFlush() not glFinish() after rendering frame
This commit is contained in:
@@ -177,7 +177,8 @@ wayland_compositor_present(struct wlsc_compositor *base)
|
|||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
uint32_t msec;
|
uint32_t msec;
|
||||||
|
|
||||||
glFinish();
|
glFlush();
|
||||||
|
|
||||||
wl_list_for_each(output, &base->output_list, base.link) {
|
wl_list_for_each(output, &base->output_list, base.link) {
|
||||||
output->current ^= 1;
|
output->current ^= 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user