Should I free an E2DSurface before loading another image into it?

Home / Support / Frequently Asked Questions / Should I free an E2DSurface before loading another image into it?

You donít need to free the surface before calling CreateSurface() again. Also if the size of the new picture that will be loaded onto the surface is the same as the previous picture, it just overwrites the image data and doesnít re-allocate memory.

Back to FAQ

Latest forum posts