Maybe its this from the docs
Note that the variable to the Image is not reset to 0 upon using FreeImage, nor will any other variables pointing to the same Image.
Checking the handle returns a non zero might make it look like the image is still loaded.
Do you flip after the cls? If not then you aren't clearing the backbuffer.
Note that the variable to the Image is not reset to 0 upon using FreeImage, nor will any other variables pointing to the same Image.
Checking the handle returns a non zero might make it look like the image is still loaded.
Do you flip after the cls? If not then you aren't clearing the backbuffer.