Quellcode durchsuchen

Fixed Windows build

Sam Lantinga vor 8 Jahren
Ursprung
Commit
7bab2913c2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/video/SDL_surface.c

+ 1 - 1
src/video/SDL_surface.c

@@ -988,7 +988,7 @@ SDL_ConvertSurface(SDL_Surface * surface, const SDL_PixelFormat * format,
             tmp2 = SDL_ConvertSurface(tmp, format, 0);
 
             /* Get the converted colorkey */
-            memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
+            SDL_memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
 
             SDL_FreeSurface(tmp);
             SDL_FreeSurface(tmp2);