Scaling small palette brushes crashes on OS4
Posted: Tue Jan 10, 2023 12:21 am
Code: Select all
CreateBrush(1,1,100,{palette=#palette_aga})
ScaleBrush(1,#KEEPASPRAT, 33)
The Cross-Platform Multimedia Application Layer
https://www.hollywood-mal.com/forums/
Code: Select all
CreateBrush(1,1,100,{palette=#palette_aga})
ScaleBrush(1,#KEEPASPRAT, 33)
Code: Select all
- Fix: Memory access fault when passing #KEEPASPRAT to one of Hollywood's scaling functions and applying
the aspect-ratio resulted in a zero width/height; in this case, the size is now padded to 1