mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-03 07:45:31 +03:00
Skip the icon on Apple targets, it also has the icns
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user