Merge pull request #5952 from kivy/fix-5348

Change order of CGL backend to prefer dynamic GL symbol loading
This commit is contained in:
matham 2018-10-04 10:56:12 -04:00 committed by GitHub
commit d73a138f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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