mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-06 13:29:48 -05:00
compositor-wayland: Use glFlush() not glFinish() after rendering frame
This commit is contained in:
parent
a242129257
commit
4203df1fd5
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue