Change default SDL driver name from opengl to empty (autoselection)

This commit is contained in:
Ivan Savenko committed 2024-01-14 14:29:13 +02:00
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++)