[gtk/wip/otte/gl-hdr: 9/18] wayland: Remove initial GL API bind
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/gl-hdr: 9/18] wayland: Remove initial GL API bind
- Date: Wed, 6 Oct 2021 01:45:28 +0000 (UTC)
commit 482845b027056c4fbafc711dac754423d1cff533
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 6 00:54:36 2021 +0200
wayland: Remove initial GL API bind
This is leftover from before the addition of GLES support.
GTK works fine without OpenGL and just OpenGLES.
gdk/wayland/gdkglcontext-wayland.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gdk/wayland/gdkglcontext-wayland.c b/gdk/wayland/gdkglcontext-wayland.c
index 5bec5f101b..287ee5552b 100644
--- a/gdk/wayland/gdkglcontext-wayland.c
+++ b/gdk/wayland/gdkglcontext-wayland.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]