1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-04 18:29:41 +01:00

Skip the icon on Apple targets, it also has the icns

This commit is contained in:
Ethan Lee 2021-03-31 02:50:38 -04:00
parent b99abaf1d5
commit 051fe9eba9

View file

@ -126,6 +126,7 @@ void Screen::GetSettings(ScreenSettings* settings)
void Screen::LoadIcon(void)
{
#ifndef __APPLE__
unsigned char *fileIn = NULL;
size_t length = 0;
unsigned char *data;
@ -147,6 +148,7 @@ void Screen::LoadIcon(void)
SDL_SetWindowIcon(m_window, icon);
SDL_FreeSurface(icon);
SDL_free(data);
#endif /* __APPLE__ */
}
void Screen::ResizeScreen(int x, int y)