SetBlend problems

BlitzMax Forums/BlitzMax Programming/SetBlend problems

Twinprogrammer(Posted 2012) [#1]
Hello ,

I've been trying to work with SetAlpha and all that stuff but when I say ' SetBlend ALPHABLEND ' , it builds. But when I run it , I get a "Windows Access Violation" runtime error ! What do I do and How do I fix it ?

Twinprogrammer


ImaginaryHuman(Posted 2012) [#2]
Have you created a screen with Graphics() before calling SetBlend? Because SetBlend does stuff with an open graphics context and if the screen is not open it will fail?


Twinprogrammer(Posted 2012) [#3]
Stupid me I did !!!!! Lol , thanks !

Twinprogrammer