Skip to content

Commit

Permalink
fix sprRot90()
Browse files Browse the repository at this point in the history
  • Loading branch information
janAkali authored and ftsf committed Jul 9, 2024
1 parent af99dd6 commit 2049233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nico.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ proc blitFastRot90(src: Surface, srcRect: Rect, dx, dy: Pint, rotations: int) =

let srcCol = src.data[(srcRect.y + sy) * src.w + (srcRect.x + sx)].ColorId
if not paletteTransparent[srcCol]:
psetRaw(dx, dy, paletteMapDraw[srcCol])
psetRaw(dxi, dyi, paletteMapDraw[srcCol])

proc blitFastFlip(src: Surface, sx,sy, dx,dy, w,h: Pint, hflip, vflip: bool) =
# used for tile drawing, no stretch
Expand Down

0 comments on commit 2049233

Please sign in to comment.