Fix SDL build

This commit is contained in:
wheremyfoodat
2024-10-31 17:56:30 +02:00
committed by GitHub
parent 818271c7ad
commit 08aedfde63

View File

@@ -35,7 +35,7 @@ FrontendSDL::FrontendSDL() : keyboardMappings(InputMappings::defaultKeyboardMapp
needOpenGL = needOpenGL || (config.rendererType == RendererType::OpenGL); needOpenGL = needOpenGL || (config.rendererType == RendererType::OpenGL);
#endif #endif
const char* windowTitle = config.appVersionOnWindow ? ("Alber v" PANDA3DS_VERSION) : "Alber"; const char* windowTitle = config.windowSettings.showAppVersion ? ("Alber v" PANDA3DS_VERSION) : "Alber";
if (config.printAppVersion) { if (config.printAppVersion) {
printf("Welcome to Panda3DS v%s!\n", PANDA3DS_VERSION); printf("Welcome to Panda3DS v%s!\n", PANDA3DS_VERSION);
} }