aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/renderer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index bfae2c77..7a3e0a92 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -30,10 +30,9 @@ struct wlr_drm_surface {
};
struct wlr_drm_fb {
- struct wlr_buffer *wlr_buf;
-
- struct wlr_buffer *mgpu_wlr_buf;
+ struct wlr_buffer *wlr_buf; // original buffer
+ struct wlr_buffer *local_wlr_buf; // GPU-local buffer
struct gbm_bo *bo;
uint32_t id;
};