From 63c3faa006dd477faba635eb5c9962077058ffb3 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 9 Jun 2017 17:15:55 +1200 Subject: Fixed rendering bug: Delay calling gbm_surface_release_buffer until it has been scanned out. --- include/backend/drm/drm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 2d063adb..443873fd 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -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; -- cgit v1.2.3