Skip to content

Commit

Permalink
Fixed Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 13, 2017
1 parent 05facb3 commit 7bab291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_surface.c
Expand Up @@ -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);
Expand Down

0 comments on commit 7bab291

Please sign in to comment.