mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
default to GL mode auto on qt 5.12
This commit is contained in:
parent
e10b9a032e
commit
d7760d9831
1 changed files with 4 additions and 1 deletions
|
@ -425,7 +425,10 @@ please see:
|
|||
|
||||
path = self._glPath()
|
||||
if not os.path.exists(path):
|
||||
return "software"
|
||||
if qtminor >= 12:
|
||||
return "auto"
|
||||
else:
|
||||
return "software"
|
||||
|
||||
mode = open(path, "r").read().strip()
|
||||
|
||||
|
|
Loading…
Reference in a new issue