]> git.xonotic.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Aug 2011 15:23:33 +0000 (15:23 +0000)
commit396cf70d81c18e96fa85b476add470385b7409c3
tree6ce3478579437ad63925024c602e5a9fca5f85e0
parent2924a0a6e6f62043eb92c77db28434ef76b86461
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
dpsoftrast.c
gl_rmain.c
shader_glsl.h
shader_hlsl.h