diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-06-09 17:15:55 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-06-09 17:15:55 +1200 |
commit | 63c3faa006dd477faba635eb5c9962077058ffb3 (patch) | |
tree | fba8298e684b282ab640c5213b6f2b9f0514c504 /include | |
parent | cd6a40d81679c37795e9d24354a8bbbf84cd53a6 (diff) |
Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
has been scanned out.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |