avoid a memory allocation on each directly uploaded texture
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 Nov 2009 21:47:36 +0000 (21:47 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 13 Nov 2009 21:47:36 +0000 (21:47 +0000)
commitb16f5bf9b68b1a4827865c7cd5391c6f6d6ffff3
treeeabfbd7312d3dc729f518bd40e0d1f889b9159b4
parentd3edab857eac367d4968f05f3e32ac2a9aa385b6
avoid a memory allocation on each directly uploaded texture
resize deferred upload textures before storage if possible

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