lbry-android-sdk/p4a_rename_test/pythonforandroid/recipes/vispy/use_es2.patch

15 lines
418 B
Diff
Raw Normal View History

2017-08-13 03:24:00 +02:00
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')