]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
changed cl_stainmaps to be a loadtime cvar which decides whether to
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Apr 2008 10:11:43 +0000 (10:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Apr 2008 10:11:43 +0000 (10:11 +0000)
commit6a8837801b8272f311dcb0c39e4b6b72b0a05a97
treee587407616a08030e2a025177ba53758d4d768d8
parentab2aa5c591afdfd2807a930621e095ed77b71449
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

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8258 d7cf8633-e32d-0410-b094-e92efae38249
cl_particles.c
gl_rmain.c
gl_rsurf.c
model_brush.c