aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/allocator/drm_dumb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/allocator/drm_dumb.c b/render/allocator/drm_dumb.c
index e2812ecb..f477ce09 100644
--- a/render/allocator/drm_dumb.c
+++ b/render/allocator/drm_dumb.c
@@ -111,7 +111,7 @@ static struct wlr_drm_dumb_buffer *create_buffer(
.width = buffer->width,
.height = buffer->height,
.format = format->format,
- .modifier = DRM_FORMAT_MOD_INVALID,
+ .modifier = DRM_FORMAT_MOD_LINEAR,
.n_planes = 1,
.offset[0] = 0,
.stride[0] = buffer->stride,