wayland: Remove initial GL API bind

This is leftover from before the addition of GLES support.

GTK works fine without OpenGL and just OpenGLES.
This commit is contained in:
Benjamin Otte
2021-10-06 00:54:36 +02:00
parent f8b9b309b0
commit 482845b027

View File

@@ -396,14 +396,6 @@ gdk_wayland_display_init_gl (GdkDisplay *display,
error))
return NULL;
if (!eglBindAPI (EGL_OPENGL_API))
{
g_set_error_literal (error, GDK_GL_ERROR,
GDK_GL_ERROR_NOT_AVAILABLE,
_("No GL implementation is available"));
return NULL;
}
return g_object_new (GDK_TYPE_WAYLAND_GL_CONTEXT,
"display", display,
NULL);