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:
parent
b99abaf1d5
commit
051fe9eba9
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,7 @@ void Screen::GetSettings(ScreenSettings* settings)
|
||||||
|
|
||||||
void Screen::LoadIcon(void)
|
void Screen::LoadIcon(void)
|
||||||
{
|
{
|
||||||
|
#ifndef __APPLE__
|
||||||
unsigned char *fileIn = NULL;
|
unsigned char *fileIn = NULL;
|
||||||
size_t length = 0;
|
size_t length = 0;
|
||||||
unsigned char *data;
|
unsigned char *data;
|
||||||
|
@ -147,6 +148,7 @@ void Screen::LoadIcon(void)
|
||||||
SDL_SetWindowIcon(m_window, icon);
|
SDL_SetWindowIcon(m_window, icon);
|
||||||
SDL_FreeSurface(icon);
|
SDL_FreeSurface(icon);
|
||||||
SDL_free(data);
|
SDL_free(data);
|
||||||
|
#endif /* __APPLE__ */
|
||||||
}
|
}
|
||||||
|
|
||||||
void Screen::ResizeScreen(int x, int y)
|
void Screen::ResizeScreen(int x, int y)
|
||||||
|
|
Loading…
Reference in a new issue