Well. Changing the resolution to the same value means that if you REset the resolution again to the same value it has now, you keep the resolution but clears all the images (exactly what PowerPc Says). The problem is this produces a screen flickering (to change the resolution).
The best way is what PowerPc Says. In fact is what i was doing. Any way you need to set ImageArray(i) = 0 after every freeimage, cause freeimage does not set it for you.
thanks all!
The best way is what PowerPc Says. In fact is what i was doing. Any way you need to set ImageArray(i) = 0 after every freeimage, cause freeimage does not set it for you.
thanks all!