mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 05:01:39 +00:00
ifdef it better
This commit is contained in:
parent
5df0a2c261
commit
7325bfcece
1 changed files with 2 additions and 2 deletions
|
|
@ -100,10 +100,10 @@ SDL_Surface *LoadImage(char* filename)
|
|||
SDL_Window* window;
|
||||
|
||||
ultramodern::WindowHandle create_window(ultramodern::gfx_callbacks_t::gfx_data_t) {
|
||||
int width, height, channels;
|
||||
SDL_Surface* icon = LoadImage("icons/512linux.png");
|
||||
window = SDL_CreateWindow("Zelda 64: Recompiled", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 1600, 960, SDL_WINDOW_RESIZABLE );
|
||||
#if defined(__linux__)
|
||||
int width, height, channels;
|
||||
SDL_Surface* icon = LoadImage("icons/512linux.png");
|
||||
SDL_SetWindowIcon(window, icon);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue