Fixed Windows build
authorSam Lantinga
Sat, 12 Aug 2017 17:01:14 -0700
changeset 11254390de4b9f84f
parent 11253 ecc1f6b82d95
child 11255 0302e7e91db7
Fixed Windows build
src/video/SDL_surface.c
     1.1 --- a/src/video/SDL_surface.c	Sat Aug 12 16:59:00 2017 -0700
     1.2 +++ b/src/video/SDL_surface.c	Sat Aug 12 17:01:14 2017 -0700
     1.3 @@ -988,7 +988,7 @@
     1.4              tmp2 = SDL_ConvertSurface(tmp, format, 0);
     1.5  
     1.6              /* Get the converted colorkey */
     1.7 -            memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
     1.8 +            SDL_memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
     1.9  
    1.10              SDL_FreeSurface(tmp);
    1.11              SDL_FreeSurface(tmp2);