Didn't mean to leave scale at 2.0 in rotozoom calls
This commit is contained in:
parent
c089ba9f28
commit
776301620e
1 changed files with 2 additions and 2 deletions
|
|
@ -7403,13 +7403,13 @@ static void blit_brush(int x, int y, int direction, double rotation, int *w, int
|
||||||
/* 2021/09/28 SDL(2)_gfxBlitRGBA() is not available in the SDL2_gfx library, using plain SDL_BlitSurface() instead. Pere
|
/* 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_gfxBlitRGBA(img_cur_brush, &src, brush_frame_surf, NULL); */
|
||||||
SDL_BlitSurface(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, 2.0, SMOOTHING_ON);
|
rotated_brush = rotozoomSurface(brush_frame_surf, rotation, 1.0, SMOOTHING_ON);
|
||||||
SDL_FreeSurface(brush_frame_surf);
|
SDL_FreeSurface(brush_frame_surf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rotated_brush = rotozoomSurface(img_cur_brush, rotation, 2.0, SMOOTHING_ON);
|
rotated_brush = rotozoomSurface(img_cur_brush, rotation, 1.0, SMOOTHING_ON);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rotated_brush != NULL)
|
if (rotated_brush != NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue