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
This commit is contained in:
committed by
Matthias Clasen
parent
440ff48bba
commit
d40c6f180f
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user