[gtk+/wip/ebassi/gles] wayland: Honour GDK_GL=gles on context creation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gles] wayland: Honour GDK_GL=gles on context creation
- Date: Fri, 22 Apr 2016 11:46:17 +0000 (UTC)
commit 1f4cae0a8d02617e34e826ece462c367e6029c22
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 22 12:45:32 2016 +0100
wayland: Honour GDK_GL=gles on context creation
gdk/wayland/gdkglcontext-wayland.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkglcontext-wayland.c b/gdk/wayland/gdkglcontext-wayland.c
index 1519e1a..b564baf 100644
--- a/gdk/wayland/gdkglcontext-wayland.c
+++ b/gdk/wayland/gdkglcontext-wayland.c
@@ -122,7 +122,8 @@ gdk_wayland_gl_context_realize (GdkGLContext *context,
forward_bit = gdk_gl_context_get_forward_compatible (context);
legacy_bit = (_gdk_gl_flags & GDK_GL_LEGACY) != 0 ||
(share != NULL && gdk_gl_context_is_legacy (share));
- use_es = gdk_gl_context_get_use_es (context);
+ use_es = (_gdk_gl_flags & GDK_GL_GLES) != 0 ||
+ gdk_gl_context_get_use_es (context);
flags = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]