mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
dmabuf: Don't check for image storage
I was wrong about this extension, and it isn't even a GL extension to begin with, so revert all this.
This commit is contained in:
parent
6e236b9459
commit
1914adc344
@ -55,8 +55,7 @@ gdk_dmabuf_egl_downloader_collect_formats (const GdkDmabufDownloader *downloader
|
|||||||
int n_mods;
|
int n_mods;
|
||||||
|
|
||||||
if (egl_display == EGL_NO_DISPLAY ||
|
if (egl_display == EGL_NO_DISPLAY ||
|
||||||
!display->have_egl_dma_buf_import ||
|
!display->have_egl_dma_buf_import)
|
||||||
!gdk_gl_context_has_image_storage (context))
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
gdk_gl_context_make_current (context);
|
gdk_gl_context_make_current (context);
|
||||||
|
Loading…
Reference in New Issue
Block a user