AutoImageFlags

BlitzMax Forums/BlitzMax Beginners Area/AutoImageFlags

QuickSilva(Posted 2008) [#1]
I am using AutoImageFlags 0 to disable the blurring of my images which works fine if I load all of my images at the begining of my program but if I try to load them from inside my types then the AutoImageFlags seem to get ignored. Is there a reason for this?

I assume that it is bad practice anyway to load images as types are created mid program. Correct me if I am wrong. Is this why the command doesn`t work in this way or is it a bug?

Any advice would be great.

Jason.


Jesse(Posted 2008) [#2]
no. it is ok to load it in a type as long as you are not loading the same image everytime you create an instance that would be overkill. sometimes I load my images in a global with in the type and load the image only if it is null.
maybe posting code will help someone figure out what you are doing wrong.