]> git.xonotic.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)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 4 Oct 2014 20:53:16 +0000 (22:53 +0200)
commiteddeedfb2760c92c24ac29593888e91f276ad445
treeb91e96c0fa465910d77f40cfa3138d5ca9f87bb1
parent33cefdeb9044350e531ca015aafcb44dc644c178
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
::stable-branch::merge=28e02ce5a65a4eb60187acc1bca5e493d7cb78f9
client.h
r_shadow.c