diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-16 09:17:13 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-16 09:17:13 -0700 |
commit | 5129c605c69996d4be36e4e3b6fa204b074f251e (patch) | |
tree | 1d7c279d6a780605294df68c23899c80a56c9877 /src/modules/spiro/Makefile.am | |
parent | 6f29da445e282aed33a07ead72246df623df1659 (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/modules/spiro/Makefile.am')
0 files changed, 0 insertions, 0 deletions