mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
gl-renderer: remove EGL_EXT_image_dma_buf_import guards
We provide a (workaround) definition in weston-egl-ext.h, thus we don't need any guards. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
b56c5b48ce
commit
3dd22d9511
|
@ -2748,10 +2748,8 @@ gl_renderer_setup_egl_extensions(struct weston_compositor *ec)
|
|||
if (check_extension(extensions, "EGL_KHR_surfaceless_context"))
|
||||
gr->has_surfaceless_context = 1;
|
||||
|
||||
#ifdef EGL_EXT_image_dma_buf_import
|
||||
if (check_extension(extensions, "EGL_EXT_image_dma_buf_import"))
|
||||
gr->has_dmabuf_import = 1;
|
||||
#endif
|
||||
|
||||
renderer_setup_egl_client_extensions(gr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue