Set SDL2 app name hint
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2697
This commit is contained in:
parent
712e2c6dd7
commit
580f2da4bf
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue