From 580f2da4bf47fd178f93bef37e489b6f1b5a1929 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 20 Jul 2025 18:24:33 -0400 Subject: [PATCH] Set SDL2 app name hint https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2697 --- src/sdl/i_system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index aa438139e..ac26f6e20 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -1873,6 +1873,9 @@ INT32 I_StartupSystem(void) SDLcompiled.major, SDLcompiled.minor, SDLcompiled.patch); I_OutputMsg("Linked with SDL version: %d.%d.%d\n", SDLlinked.major, SDLlinked.minor, SDLlinked.patch); +#if SDL_VERSION_ATLEAST(2,0,22) + SDL_SetHint(SDL_HINT_APP_NAME, "BlanKart"); +#endif if (SDL_Init(0) < 0) I_Error("SRB2Kart: SDL System Error: %s", SDL_GetError()); //Alam: Oh no.... #ifndef NOMUMBLE