]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Fix the corona bug. The render bug only though.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Mar 2020 20:37:56 +0000 (20:37 +0000)
committerRudolf Polzer <divVerent@gmail.com>
Mon, 23 Mar 2020 20:51:46 +0000 (13:51 -0700)
commit792cfa2c9cb08bf5f620214e1419d2d920969acb
treeac9b7b2cb9753e6940e903ba524de1460a311b91
parentf3796fe229870fa0c91d2f96b604cb8f1a284895
Fix the corona bug. The render bug only though.

This is done by reviving alphamod and colormod arguments of
RSurf_ActiveCustomEntity.

The current implementation is a bit rough and needlessly copies the
worldentity; the struct isn't huge though and it's only done when
actually colormodding (and thus only for coronas, r_editlights, a few
sprites and nomodels).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12525 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c1ae70566d016a8f85acb3d4293c5dbc53886a51
gl_rmain.c