]> git.rm.cloudns.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Mar 2020 20:37:56 +0000 (20:37 +0000)
commitc1ae70566d016a8f85acb3d4293c5dbc53886a51
tree306cbff5725ee67a167d6d50e8a1395ae418ba19
parentc78240adf3aa2928002de7201e7bdfe02ecfe3b5
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
gl_rmain.c