From 08aedfde6361cac8c011fc98de55b993847d4897 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Thu, 31 Oct 2024 17:56:30 +0200 Subject: [PATCH] Fix SDL build --- src/panda_sdl/frontend_sdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panda_sdl/frontend_sdl.cpp b/src/panda_sdl/frontend_sdl.cpp index de496d56f..405e08da9 100644 --- a/src/panda_sdl/frontend_sdl.cpp +++ b/src/panda_sdl/frontend_sdl.cpp @@ -35,7 +35,7 @@ FrontendSDL::FrontendSDL() : keyboardMappings(InputMappings::defaultKeyboardMapp needOpenGL = needOpenGL || (config.rendererType == RendererType::OpenGL); #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) { printf("Welcome to Panda3DS v%s!\n", PANDA3DS_VERSION); } @@ -393,4 +393,4 @@ void FrontendSDL::setupControllerSensors(SDL_GameController* controller) { if (haveAccelerometer) { SDL_GameControllerSetSensorEnabled(controller, SDL_SENSOR_ACCEL, SDL_TRUE); } -} \ No newline at end of file +}