Skip to content

v.drawFill off-screen drawing fixes

Monster Iestyn requested to merge drawFill-fix into next

Currently using v.drawFill with negative x/y coords or otherwise a width/height that makes the color block go off-screen can result in wrapping or even crashing the game. This branch of course fixes that.

May need someone else to verify I'm doing things the right way though, I'm not sure whether x/y SHOULD be scaled for the if statement preceding the V_SNAPTO* flags code, I just did that to make it easier for my negative x/y coords fix. =S

Merge request reports