]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Changed R_Upload() to not allocate memory for a texture when a NULL texture data...
authorres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 6 Dec 2007 05:19:25 +0000 (05:19 +0000)
committerres <res@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 6 Dec 2007 05:19:25 +0000 (05:19 +0000)
commit7c378b46e3de63b6ba6769f6d0d8ce6767053ff8
treecda2073915ed89c86a388d95f4c51c0b4aa52d54
parentc08f21831428addb095a62ceeca811adcd197cc6
Changed R_Upload() to not allocate memory for a texture when a NULL texture data pointer is given. GL should cope with a NULL texture data pointer just fine, and it's slightly faster.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7767 d7cf8633-e32d-0410-b094-e92efae38249
gl_textures.c