grabimage

BlitzMax Forums/BlitzMax Beginners Area/grabimage

Juiceter(Posted 2015) [#1]
Why do you have to keep resetting a colour every time you grab an image from the backbuffer?


Juiceter(Posted 2015) [#2]
"If you've called SetColor with anything other than 255, 255, 255, and then want to draw your images normally, call SetColor 255, 255, 255 before doing so. You'll probably notice you need this when your images start to flash unexpectedly in different colours!"

Ah so it's this that's the problem. Moving from 2d to max is a bit of a minefield!

Is there a parameter you can put in to make sure that an image you draw is always at 100% so you don't have to set the colour to white every time you do so? It just makes the draw loop longer as you have to reset to the original colour if you were drawing primitives to the screen too.