diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-19 13:43:17 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-10-21 11:39:24 -0400 |
commit | b878ec7f2ff51d4a38bb70f2461bcf1344608dcb (patch) | |
tree | aab4955f970cd826831a0e26789e1587dfddce3c /gdk/gdkglcontext.h | |
parent | 627867863fbac1ba75d285911102a349a2daaba5 (diff) | |
download | gtk+-b878ec7f2ff51d4a38bb70f2461bcf1344608dcb.tar.gz |
gdk/gl: Allow autodetection for GL/GLES
If the GdkGLContext was not explicitly instructed to use or not GLES, we
can detect whether the underlying API is going to be desktop GL or GLES.
https://bugzilla.gnome.org/show_bug.cgi?id=773180
Diffstat (limited to 'gdk/gdkglcontext.h')
-rw-r--r-- | gdk/gdkglcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkglcontext.h b/gdk/gdkglcontext.h index 44633a7c8a..eb380c2f25 100644 --- a/gdk/gdkglcontext.h +++ b/gdk/gdkglcontext.h @@ -75,7 +75,7 @@ GDK_AVAILABLE_IN_3_16 gboolean gdk_gl_context_get_forward_compatible (GdkGLContext *context); GDK_AVAILABLE_IN_3_22 void gdk_gl_context_set_use_es (GdkGLContext *context, - gboolean use_es); + int use_es); GDK_AVAILABLE_IN_3_22 gboolean gdk_gl_context_get_use_es (GdkGLContext *context); |