aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/pixman/renderer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c
index 2853b704..d4833f29 100644
--- a/render/pixman/renderer.c
+++ b/render/pixman/renderer.c
@@ -522,7 +522,9 @@ struct wlr_renderer *wlr_pixman_renderer_create(void) {
for (size_t i = 0; i < len; ++i) {
wlr_drm_format_set_add(&renderer->drm_formats, formats[i],
- DRM_FORMAT_MOD_INVALID);
+ DRM_FORMAT_MOD_INVALID);
+ wlr_drm_format_set_add(&renderer->drm_formats, formats[i],
+ DRM_FORMAT_MOD_LINEAR);
}
return &renderer->wlr_renderer;