FXGL
FXGL copied to clipboard
Images.kt Pixel data structure should limit rgba values in 0-1 range
Some blend modes in Images.kt file can produce a value outside of the [0..1] range, resulting in Color.color() crashing.
A solution to this should figure out how to avoid this and whether changes to the Pixel data structure are necessary. In any case, the solution changes should only happen in Images.kt.
Do you have steps to recreate this?
Good point, leave this with me to add a crashing sample.