diff --git a/src/video/SDL_surface.c b/src/video/SDL_surface.c index 7c455a9b42..8c0e8bac28 100644 --- a/src/video/SDL_surface.c +++ b/src/video/SDL_surface.c @@ -2147,6 +2147,13 @@ end: } } + // Copy properties + if (surface->props) { + if (!SDL_CopyProperties(surface->props, SDL_GetSurfaceProperties(convert))) { + goto error; + } + } + // We're ready to go! return convert;