]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
make sure another way it never calculates 0^0
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Aug 2011 15:23:33 +0000 (15:23 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 29 Aug 2011 15:48:48 +0000 (17:48 +0200)
commita22e71c22d6a555d993f97e5b4e4aaae3582f8a2
tree5f92f365ac2091bcdbeb8fd4ce2abb316481b20d
parent35697d1fa52dd38acc3d3f27bce2807723a02f4c
make sure another way it never calculates 0^0

we now avoid too-small exponents instead (alpha 0 now is exponent 1, not 0)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11306 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=396cf70d81c18e96fa85b476add470385b7409c3
dpsoftrast.c
gl_rmain.c
shader_glsl.h
shader_hlsl.h