aboutsummaryrefslogtreecommitdiff
path: root/render/pixman
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-12-01 14:12:09 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-12-02 14:12:14 +0000
commitde0bc7831954a5e4baa367b01bb02b755b53e5d0 (patch)
tree60e466e5a1e85fba5dcacfb9483c623c671ff785 /render/pixman
parent051d1ce90ef9ab3ce931b3b2df43012960df514b (diff)
render/pixman: advertise MOD_INVALID instead of MOD_LINEAR
The backends and allocators use INVALID, but the renderer uses LINEAR. Running a compositor with WLR_RENDERER=pixman results in: 00:00:00.744 [types/output/render.c:59] Failed to pick primary buffer format for output 'WL-1'
Diffstat (limited to 'render/pixman')
-rw-r--r--render/pixman/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c
index c65523b0..13db0880 100644
--- a/render/pixman/renderer.c
+++ b/render/pixman/renderer.c
@@ -528,7 +528,7 @@ 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_LINEAR);
+ DRM_FORMAT_MOD_INVALID);
}
return &renderer->wlr_renderer;