Fix XPM window icon not being used

This commit is contained in:
SteelT 2023-01-21 18:47:29 -05:00
parent dfd13b5a7a
commit aef982c8d5

View file

@ -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