summaryrefslogtreecommitdiff
path: root/src/libs/din
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-12 18:09:20 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-12 21:49:30 -0700
commitbe6d4f83b96be034e393d6ef83d57a944ae16067 (patch)
tree94b702f7cdf6fbf3eaaa56beee1fb01f6e8a5d07 /src/libs/din
parentbc9b657747095dc84266578f457b821f669e15d8 (diff)
modules/checkers: fix clipping bug in fragmenter
The existing code wasn't clipping correctly to the right/bottom edges of the incoming fragment when the xoff/yoff was 0 but xshift/yshift non-zero. In that case the incoming fragment bound was unintentionally being enlarged, resulting in an overrun when the such a cell was filled/cleared. It was discovered watching montage under rtv, which stumbled across running checkers w/size=128 on a montage tile of 128x96. The height/y coords of the single checker cell filling the whole montage tile weren't getting clamped properly down to the 96-tall tile. The shifting for centering checkers introduced some really annoying arithmetic in this fragmenter.
Diffstat (limited to 'src/libs/din')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved