diff --git a/Src/OSD/SDL/Main.cpp b/Src/OSD/SDL/Main.cpp index dc37b669..57154013 100644 --- a/Src/OSD/SDL/Main.cpp +++ b/Src/OSD/SDL/Main.cpp @@ -378,7 +378,7 @@ static void PrintGLInfo(bool createScreen, bool infoLog, bool printExtensions) unsigned xOffset, yOffset, xRes=496, yRes=384, totalXRes, totalYRes; if (createScreen) { - if (OKAY != CreateGLScreen(false, false, "Supermodel - Querying OpenGL Information...", false, &xOffset, &yOffset, &xRes, &yRes, &totalXRes, &totalYRes, false, false)) + if (OKAY != CreateGLScreen(s_runtime_config["New3DEngine"].ValueAs(), s_runtime_config["QuadRendering"].ValueAs(), "Supermodel - Querying OpenGL Information...", false, &xOffset, &yOffset, &xRes, &yRes, &totalXRes, &totalYRes, false, false)) { ErrorLog("Unable to query OpenGL.\n"); return; @@ -1938,6 +1938,7 @@ int main(int argc, char **argv) } if (cmd_line.print_gl_info) { + Util::Config::MergeINISections(&s_runtime_config, DefaultConfig(), cmd_line.config); // We must exit after this because CreateGLScreen() is used PrintGLInfo(true, false, false); return 0;