Change default SDL driver name from opengl to empty (autoselection)
This commit is contained in:
1 parent
f6e0f46040
commit
b08462d555
3 files changed
+9
-1
No files matched your search
@@ -169,6 +169,8 @@ static QStringList getAvailableRenderingDrivers()
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
QStringList result;
|
||||
|
||||
result += QString(); // empty value for autoselection
|
||||
|
||||
int driversCount = SDL_GetNumRenderDrivers();
|
||||
|
||||
for(int it = 0; it < driversCount; it++)
|
||||
|
||||
Reference in new issue
Block a user