From a4f9c0c925205c52b7b5b9a545fc7b3d9b3b03e1 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 4 Oct 2018 16:12:29 +0200 Subject: [PATCH] Change order of CGL backend to prefer dynamic GL symbol loading via SDL2 rather than static GL provider --- kivy/graphics/cgl.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/graphics/cgl.pyx b/kivy/graphics/cgl.pyx index 0e6fc73e4..699d8c5a1 100644 --- a/kivy/graphics/cgl.pyx +++ b/kivy/graphics/cgl.pyx @@ -56,7 +56,7 @@ cpdef cgl_get_backend_name(): if name: return name.lower() - for name in ('glew', 'gl', 'sdl2', 'mock'): + for name in ('glew', 'sdl2', 'gl', 'mock'): mod = importlib.import_module("kivy.graphics.cgl_backend.cgl_{}".format(name)) if mod.is_backend_supported(): return name