How do you turn OFF masking?

BlitzMax Forums/BlitzMax Beginners Area/How do you turn OFF masking?

Idiot(Posted 2005) [#1]
I've seen a lot of topics on how to do masking, but it seems to be on by default. I can't seem to turn it off, and so if I haven't specified a transparent color, black ends up being transparent.


ImaginaryHuman(Posted 2005) [#2]
Add :

SetBlend SOLIDBLEND

before you do the drawing.


Idiot(Posted 2005) [#3]
cool, thanks!


skidracer(Posted 2005) [#4]
To disable automatic generation of masks when loading or creating images you can also use the following straight after calling the Graphics function:
AutoImageFlags FILTEREDIMAGE