summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-10-18 15:26:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-10-21 11:39:24 -0400
commit627867863fbac1ba75d285911102a349a2daaba5 (patch)
tree791c3735c38ef7cf09391632c9aadb4286da578b /gdk
parentebbfbc0beaa491ae8f7518bf8c19da2e3baab5e6 (diff)
downloadgtk+-627867863fbac1ba75d285911102a349a2daaba5.tar.gz
gdk: Don't second-guess whether a context is GLES
We've already set ->use_es correctly at context creation time, all this can possibly do is change our mind about what kind of GL we're using. Signed-off-by: Adam Jackson <ajax@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=773180
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkglcontext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index bf6e45f5a2..216a19a4cb 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -769,7 +769,6 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
if (priv->extensions_checked)
return;
- priv->use_es = !epoxy_is_desktop_gl ();
priv->gl_version = epoxy_gl_version ();
if (priv->use_es)