isleapp: Remove _WIN32 ifdefs

This is closer to the original code. I thought it would let Windows
set the icon itself not set the icon upon window creation.
This commit is contained in:
AllMeatball 2025-05-14 11:34:08 -05:00
parent b2569bcd55
commit 258ce038a3
2 changed files with 0 additions and 4 deletions

View File

@ -486,7 +486,6 @@ MxResult IsleApp::SetupWindow()
return FAILURE;
}
#ifndef _WIN32
SDL_Surface* icon = SDL_CreateSurfaceFrom(
ISLE_ICON.width,
ISLE_ICON.height,
@ -499,7 +498,6 @@ MxResult IsleApp::SetupWindow()
SDL_SetWindowIcon(m_windowHandle, icon);
SDL_DestroySurface(icon);
}
#endif
if (!SetupLegoOmni()) {
return FAILURE;

View File

@ -4,6 +4,4 @@
#define APP_ICON 105
#ifndef _WIN32
#include "isle.h"
#endif