r7737 - trunk/darkplaces

black at icculus.org black at icculus.org
Thu Nov 29 15:45:19 EST 2007


Author: black
Date: 2007-11-29 15:45:19 -0500 (Thu, 29 Nov 2007)
New Revision: 7737

Modified:
   trunk/darkplaces/cl_gecko.c
   trunk/darkplaces/cl_video.c
   trunk/darkplaces/gl_rmain.c
   trunk/darkplaces/gl_textures.c
   trunk/darkplaces/r_textures.h
Log is attached.
Add TEXF_PERSISTENT and R_PurgeTexture which only frees textures if that flag isn't set. Changed the SkinFrame purging code accordingly (and the default texture creation calls).
Fixed a bug that caused dynamic textures not to survive map switches (LoadExternal would try to load pixel data because ->base was set to NULL - it now restores the pointer in SkinFrame_Find..)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20071129.204519.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20071129/3dac6adf/attachment.diff>


More information about the twilight-commits mailing list