From 1f011f915f1220ebe46ad151cad342d623a768ff Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 18 Mar 2021 15:50:19 +0200 Subject: macOS: Fixed build --- src/ui/window.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/ui/window.c b/src/ui/window.c index d67d3f5b..b8d8ae5f 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1327,7 +1327,6 @@ iBool create_Window_(iWindow *d, iRect rect, uint32_t flags) { return iTrue; } -#if defined (iPlatformLinux) || defined (LAGRANGE_CUSTOM_FRAME) static SDL_Surface *loadImage_(const iBlock *data, int resized) { int w = 0, h = 0, num = 4; stbi_uc *pixels = stbi_load_from_memory( @@ -1342,7 +1341,6 @@ static SDL_Surface *loadImage_(const iBlock *data, int resized) { return SDL_CreateRGBSurfaceWithFormatFrom( pixels, w, h, 8 * num, w * num, SDL_PIXELFORMAT_RGBA32); } -#endif void init_Window(iWindow *d, iRect rect) { theWindow_ = d; -- cgit v1.2.3