diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) { | |||
1327 | return iTrue; | 1327 | return iTrue; |
1328 | } | 1328 | } |
1329 | 1329 | ||
1330 | #if defined (iPlatformLinux) || defined (LAGRANGE_CUSTOM_FRAME) | ||
1331 | static SDL_Surface *loadImage_(const iBlock *data, int resized) { | 1330 | static SDL_Surface *loadImage_(const iBlock *data, int resized) { |
1332 | int w = 0, h = 0, num = 4; | 1331 | int w = 0, h = 0, num = 4; |
1333 | stbi_uc *pixels = stbi_load_from_memory( | 1332 | stbi_uc *pixels = stbi_load_from_memory( |
@@ -1342,7 +1341,6 @@ static SDL_Surface *loadImage_(const iBlock *data, int resized) { | |||
1342 | return SDL_CreateRGBSurfaceWithFormatFrom( | 1341 | return SDL_CreateRGBSurfaceWithFormatFrom( |
1343 | pixels, w, h, 8 * num, w * num, SDL_PIXELFORMAT_RGBA32); | 1342 | pixels, w, h, 8 * num, w * num, SDL_PIXELFORMAT_RGBA32); |
1344 | } | 1343 | } |
1345 | #endif | ||
1346 | 1344 | ||
1347 | void init_Window(iWindow *d, iRect rect) { | 1345 | void init_Window(iWindow *d, iRect rect) { |
1348 | theWindow_ = d; | 1346 | theWindow_ = d; |