mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
Fixed Windows build
This commit is contained in:
parent
05facb3d4e
commit
7bab2913c2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user