Need a test with this...

BlitzMax Forums/BlitzMax Beginners Area/Need a test with this...

ok. in that case its really needed. .width / .height don't work as they should, they don't have the real image width/height saved of the image that is held in VRAM ... thats plain crap but ok.

Thanks for mentioning that. Never realized that BM saves incorrect informations in its internal structure (or if the internal handling changed since BM 1.06 for which this function was written)

I thought you meant powerof2 for the subimagerect you want to draw, not for the width/height of the original image. Thats why I didn't understand its use. sorry.

Is it ok, if I add that to my code?