mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Set the SDL window icon when changing video mode
git-svn-id: https://svn.eduke32.com/eduke32@4110 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8248ef8446
commit
bee968a535
1 changed files with 9 additions and 0 deletions
|
@ -1529,6 +1529,15 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs)
|
|||
#endif
|
||||
}
|
||||
|
||||
if (appicon)
|
||||
{
|
||||
#if SDL_MAJOR_VERSION==1
|
||||
SDL_WM_SetIcon(appicon, 0);
|
||||
#else
|
||||
SDL_SetWindowIcon(sdl_window, appicon);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_OPENGL
|
||||
if (c > 8)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue