summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplay.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-10-03 21:58:57 +0200
committerBenjamin Otte <otte@redhat.com>2021-10-06 03:44:35 +0200
commitd128ffcc1431c7c3093033e75a60fc3da7bfe376 (patch)
tree9c6ae036d742f4264b681add5729969a11cf982a /gdk/gdkdisplay.c
parentaba37c40d349980784b9ed9aef314277f45e20dd (diff)
downloadgtk+-d128ffcc1431c7c3093033e75a60fc3da7bfe376.tar.gz
egl: Move EGLSurface handling to GdkSurface
Calling gdk_surface_set_egl_native_window() enables this.
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r--gdk/gdkdisplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 9f3608d3cd..398e191a12 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1675,6 +1675,7 @@ gdk_display_init_egl (GdkDisplay *self,
if (!gdk_display_check_egl_extensions (priv->egl_display,
(const char *[]) {
+ "EGL_KHR_create_context",
"EGL_KHR_surfaceless_context",
NULL
},