Made a 2.0.27 release with this fix. Please check if that works for you.
Made a 2.0.27 release with this fix. Please check if that works for you.
Make a 2.0.27 release with this fix. Please check if that works for you.
Make a 2.0.27 release with this fix. Please check if that works for you.
SDL_gfx 2.0.27 release
Hi! Here it is :-)
Thanks for the patch. It may take me some time to get around to make a new release as this code is rather old.
Yes, a patch is welcome. Please post here so it is public. I am not sure when I get around to apply it (as this is rather old code)
rotozoomSurfaceXY() adds color key flag to generated surfaces
Patch, if it helps. --- SDL_gfx-2.0.25/SDL_rotozoom.c~ 2023-12-09 21:24:48.317633493 +0000 +++ SDL_gfx-2.0.25/SDL_rotozoom.c 2023-12-09 21:23:31.163959705 +0000 @@ -841,8 +841,8 @@ if (SDL_MUSTLOCK(dst)) { SDL_LockSurface(dst); } - if (SDL_MUSTLOCK(dst)) { - SDL_LockSurface(dst); + if (SDL_MUSTLOCK(src)) { + SDL_LockSurface(src); } /* Calculate int-per-row */
Is this the canonical source for SDL_gfx? I found some copies on github as well. Mainly asking because we're using this for wii & gamecube & Alberto reported this at https://github.com/devkitPro/pacman-packages/issues/331 as well. I'll patch it for us for now but would obvious prefer to be using upstream if possible.
Thanks for the report.
`rotateSurface90Degrees` returns a locked surface
Ver 2.0.26: fix bug; add VS2015 solution files;...
Wrong ordering on circleColor (and others)