Using the above code I got weird results, changing
Fixed it right up :)
Good work 0DFEx!
If (pix And $FFFFFF)=maskcol WritePixelFast x,y,(pix Or $FF000000) Else WritePixelFast x,y,0to
If (pix And $FFFFFF)=maskcol WritePixelFast x,y,0 Else WritePixelFast x,y,(pix Or $FF000000)
Fixed it right up :)
Good work 0DFEx!