]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Don't allocate resize buffer for texture upload if the texture does not need to be...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:36:38 +0000 (21:36 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:36:38 +0000 (21:36 +0000)
commit2fc27557a6c719496832e949e1f129f6b6b83d97
treee6231b571941611a906f04a527d05bf7b83d4e7a
parentb18cecd7b0c37e696571dcb3abb22a79ad03dae7
Don't allocate resize buffer for texture upload if the texture does not need to be resized (this helps with memory pressure on the bouncegrid texture which was causing a huge memory alloc every frame in dynamic mode).

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