mirror of https://github.com/kivy/kivy.git
Merge pull request #5952 from kivy/fix-5348
Change order of CGL backend to prefer dynamic GL symbol loading
This commit is contained in:
commit
d73a138f0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue