diff --git a/desktop_version/src/GraphicsUtil.cpp b/desktop_version/src/GraphicsUtil.cpp index ca7ff512..2eef6cfe 100644 --- a/desktop_version/src/GraphicsUtil.cpp +++ b/desktop_version/src/GraphicsUtil.cpp @@ -17,6 +17,7 @@ static SDL_Surface* RecreateSurfaceWithDimensions( const int height ) { SDL_Surface* retval; + SDL_BlendMode blend_mode; if (surface == NULL) { @@ -39,6 +40,9 @@ static SDL_Surface* RecreateSurfaceWithDimensions( return NULL; } + SDL_GetSurfaceBlendMode(surface, &blend_mode); + SDL_SetSurfaceBlendMode(retval, blend_mode); + return retval; }