mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-05 13:29:50 -05:00
compositor-drm: Flush before pageflipping
This fixes compositor-drm flickering on r600.
This commit is contained in:
parent
fa4e2a7676
commit
feb370e4ea
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ drm_compositor_present(struct wlsc_compositor *ec)
|
|||
GL_COLOR_ATTACHMENT0,
|
||||
GL_RENDERBUFFER,
|
||||
output->rbo[output->current]);
|
||||
glFlush();
|
||||
|
||||
drmModePageFlip(c->base.drm.fd, output->crtc_id,
|
||||
output->fb_id[output->current ^ 1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue