aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2/texture.c')
-rw-r--r--render/gles2/texture.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index 7e2b01ae..aa7af76c 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -269,12 +269,6 @@ struct wlr_texture *gles2_texture_from_dmabuf(struct wlr_renderer *wlr_renderer,
return NULL;
}
- if (!renderer->egl->exts.image_dmabuf_import_ext) {
- wlr_log(WLR_ERROR, "Cannot create DMA-BUF texture: EGL extension "
- "unavailable");
- return NULL;
- }
-
struct wlr_gles2_texture *texture =
calloc(1, sizeof(struct wlr_gles2_texture));
if (texture == NULL) {