[gtk+/gtk-3-22] gdk: Don't second-guess whether a context is GLES



commit d40c6f180fc832d6917a69b7a05080e402dc927e
Author: Adam Jackson <ajax redhat com>
Date:   Tue Oct 18 15:26:18 2016 -0400

    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

 gdk/gdkglcontext.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index bf6e45f..216a19a 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]