summaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-16 09:17:13 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-16 09:17:13 -0700
commit5129c605c69996d4be36e4e3b6fa204b074f251e (patch)
tree1d7c279d6a780605294df68c23899c80a56c9877 /src/libs
parent6f29da445e282aed33a07ead72246df623df1659 (diff)
modules/pixbounce: use float for multiplier
The lack of support for fractional multipliers prevents pixbounce from drawing anything in small frame scenarios, like as a checkers fill_module. You can easily reproduce this by doing: --module=pixbounce,pixmap_size=0.8,pixmap=err --video=sdl,size=64x64 --defaults --go Which after this commit works... While here I did a minor optimization removing some divides, and fixed up the assumption that fragment->{width,height} == fragment->frame_{width,height} in pixbounce_prepare_frame(). It should have been using .frame_{width,height}.
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved