Please ignore my previous patch. It only produce white splash. Instead, please apply the one below. The memory is deleted in the destructor.
Well, that way the texture data is kept in memory at three different places:
1. Main memory (because of your patch) 2. Main memory (OpenGL driver) 3. Texture memory.
We should be able to delete the texture data after sending it to OpenGL.
Erik
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel