diff options
-rw-r--r-- | types/output/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/types/output/render.c b/types/output/render.c index 2f6fe260..5bf5530e 100644 --- a/types/output/render.c +++ b/types/output/render.c @@ -23,8 +23,8 @@ bool wlr_output_init_render(struct wlr_output *output, wlr_log(WLR_ERROR, "output backend and allocator buffer capabilities " "don't match"); return false; - } else if (!(backend_caps & renderer_caps)) { - wlr_log(WLR_ERROR, "output backend and renderer buffer capabilities " + } else if (!(renderer_caps & allocator->buffer_caps)) { + wlr_log(WLR_ERROR, "renderer and allocator buffer capabilities " "don't match"); return false; } |