r8258 - trunk/darkplaces

havoc at icculus.org havoc at icculus.org
Fri Apr 18 06:11:44 EDT 2008


Author: havoc
Date: 2008-04-18 06:11:43 -0400 (Fri, 18 Apr 2008)
New Revision: 8258

Modified:
   trunk/darkplaces/cl_particles.c
   trunk/darkplaces/gl_rmain.c
   trunk/darkplaces/gl_rsurf.c
   trunk/darkplaces/model_brush.c
Log is attached.
changed cl_stainmaps to be a loadtime cvar which decides whether to
allocate stainmaps at all, this saves some memory if it's 0 (which is
the default)
changed stainmap allocation to lump all allocations into one big one,
this saves 1.5MB of memory system overhead (tracking about 28000
allocations for stainmaps in cavetest2.bsp has a lot of overhead) and
probably a good deal more malloc overhead on top of that


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080418.101144.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20080418/e69e0db9/attachment.diff>


More information about the twilight-commits mailing list