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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user