------------------------------------------------------------------------ r1942 | helixhorned | 2011-07-22 15:00:53 -0700 (Fri, 22 Jul 2011) | 1 line Janitorial work part 2, perfect for a rainy day. This fixes a lot of leaks, both on the client side as well as for memory allocated by OpenGL. If you had crashes after a few times of restartvid'ing in Polymer, this should fix it. ------------------------------------------------------------------------ r1941 | helixhorned | 2011-07-22 06:32:01 -0700 (Fri, 22 Jul 2011) | 6 lines A bit of cleanup with memory issues. First, it is now possible to disable the memcache (which is there to cache the texcache) by setting the new cvar 'r_memcache' to 0. Do this if you're constrained on memory or getting crashes when e.g. doing vidrestart often. Also, the memcache will disable itself (and free its storage, if it's there) the first time it fails to allocate. Fix a strcpy with identical arguments in game.c and a couple of uninitialized mem accesses related to Polymer lights. ------------------------------------------------------------------------