SDL(2)_gfxBlitRGBA() is not available in the SDL2_gfx library.
This commit is contained in:
parent
b6b0636eb5
commit
6891266eee
1 changed files with 3 additions and 1 deletions
|
|
@ -6467,7 +6467,9 @@ static void blit_brush(int x, int y, int direction, int rotation, int * w, int *
|
|||
img_cur_brush->format->Amask);
|
||||
if (brush_frame_surf != NULL)
|
||||
{
|
||||
SDL_gfxBlitRGBA(img_cur_brush, &src, brush_frame_surf, NULL);
|
||||
/* 2021/09/28 SDL(2)_gfxBlitRGBA() is not available in the SDL2_gfx library, using plain SDL_BlitSurface() instead. Pere
|
||||
SDL_gfxBlitRGBA(img_cur_brush, &src, brush_frame_surf, NULL); */
|
||||
SDL_BlitSurface(img_cur_brush, &src, brush_frame_surf, NULL);
|
||||
rotated_brush = rotozoomSurface(brush_frame_surf, rotation, 1.0, SMOOTHING_ON);
|
||||
SDL_FreeSurface(brush_frame_surf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue