aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/gles2/renderer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index e61c276c..0797adc8 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -122,6 +122,11 @@ static struct wlr_gles2_buffer *get_or_create_buffer(struct wlr_gles2_renderer *
goto error_buffer;
}
+ if (external_only) {
+ wlr_log(WLR_ERROR, "DMA-BUF format is external-only");
+ goto error_image;
+ }
+
push_gles2_debug(renderer);
glGenRenderbuffers(1, &buffer->rbo);