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'
This commit is contained in:
parent
051d1ce90e
commit
de0bc78319
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue