lbry-android-sdk/p4a/pythonforandroidold/recipes/vispy/use_es2.patch

15 lines
418 B
Diff
Raw Normal View History

2022-12-02 21:15:34 +01: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')