]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Cache corona occlusion buffer
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Oct 2014 20:12:56 +0000 (20:12 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Oct 2014 20:12:56 +0000 (20:12 +0000)
commit28e02ce5a65a4eb60187acc1bca5e493d7cb78f9
treec5a9167bac46b8e3369277f7ad5c6117e5e71878
parent121152f1632170629122559482a298ea8b3aaf75
Cache corona occlusion buffer

Rather than creating and destroying the occlusion buffer every frame, cache it.
This improves performance slightly.

From: Alex Goins <agoins@nvidia.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12095 d7cf8633-e32d-0410-b094-e92efae38249
client.h
r_shadow.c