Fixed rendering bug: Delay calling gbm_surface_release_buffer until it

has been scanned out.
This commit is contained in:
Scott Anderson 2017-06-09 17:15:55 +12:00
parent cd6a40d816
commit 63c3faa006
2 changed files with 12 additions and 2 deletions

View file

@ -47,6 +47,8 @@ struct wlr_output_state {
struct wlr_drm_renderer *renderer;
struct gbm_surface *gbm;
struct gbm_bo *bo_last;
struct gbm_bo *bo_current;
EGLSurface *egl;
bool pageflip_pending;