From 96152303a67c8bea397fcbc20cf485a807a6367c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 21 Dec 2023 13:25:16 +0100 Subject: [PATCH] dmabuf: Let the EGL code initialize GL The EGL downloader initialization already calls prepare_gl(), so no need to call it in init_dmabuf_formats(), too. --- gdk/gdkdisplay.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 5d9432c766..8c18fa51bc 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -1932,8 +1932,6 @@ gdk_display_init_dmabuf (GdkDisplay *self) #ifdef HAVE_DMABUF if (!GDK_DISPLAY_DEBUG_CHECK (self, DMABUF_DISABLE)) { - gdk_display_prepare_gl (self, NULL); - #ifdef HAVE_EGL gdk_display_add_dmabuf_downloader (self, gdk_dmabuf_get_egl_downloader (self, builder)); #endif