lbry-android-sdk/p4a/pythonforandroid/recipes/vispy/use_es2.patch
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

14 lines
418 B
Diff

diff --git a/vispy/gloo/gl/__init__.py b/vispy/gloo/gl/__init__.py
index 93813fa..c41859c 100644
--- a/vispy/gloo/gl/__init__.py
+++ b/vispy/gloo/gl/__init__.py
@@ -210,7 +210,7 @@ def check_error(when='periodic check'):
# Load default gl backend
-from . import gl2 as default_backend # noqa
+from . import es2 as default_backend # noqa
# Call use to start using our default backend
-use_gl()
+use_gl('es2')