lbry-android-sdk/p4a_rename_test/pythonforandroid/recipes/vispy/use_es2.patch
2022-11-29 15:11:29 -05: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')