diff --git a/src/platform/mac/platform_mac.c b/src/platform/mac/platform_mac.c index 6d2fd16..ddf8513 100755 --- a/src/platform/mac/platform_mac.c +++ b/src/platform/mac/platform_mac.c @@ -26,7 +26,7 @@ #include -#include +#include #include "wrogue.h" diff --git a/src/platform/sdl/platform_sdl.c b/src/platform/sdl/platform_sdl.c index c758ae9..5e74740 100755 --- a/src/platform/sdl/platform_sdl.c +++ b/src/platform/sdl/platform_sdl.c @@ -619,7 +619,7 @@ static void background_init(void) background_image = SDL_LoadBMP(data_path()); if (background_image == NULL) load_bmp_error(); - Background = SDL_DisplayFormat(background_image); + Background = SDL_ConvertSurfaceFormat(background_image); SDL_FreeSurface(background_image); }