mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-window-icon' into 'master'
Fix XPM window icon not being used See merge request KartKrew/Kart!897
This commit is contained in:
commit
f47d818698
1 changed files with 5 additions and 0 deletions
|
|
@ -1794,6 +1794,11 @@ void I_StartupGraphics(void)
|
|||
VID_StartupOpenGL();
|
||||
#endif
|
||||
|
||||
// Window icon
|
||||
#ifdef HAVE_IMAGE
|
||||
icoSurface = IMG_ReadXPMFromArray(SDL_icon_xpm);
|
||||
#endif
|
||||
|
||||
VID_SetMode(VID_GetModeForSize(BASEVIDWIDTH, BASEVIDHEIGHT));
|
||||
|
||||
vid.width = BASEVIDWIDTH; // Default size for startup
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue