summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-09-16 17:10:19 +0200
committerdegasus <wickmarkus@web.de>2013-09-16 17:10:19 +0200
commit75f2738f5c32bc7a28078983d1a7da2c31e7acbf (patch)
tree705c7b7602d865246d68ecb924e375073375253f /Source/Core/InputCommon/ControllerInterface
parent98fb4c146e3832c2cf6bcb1287549954a0622610 (diff)
VideoCommon: fix ogl lighting bug which happens because of NaN emulation
attn is sometimes very big (eg 1e27), so attn*attn doesn't fit into a float. So the funny part here is: 0.0 * (1e27*1e27) = 0.0 * Inf = NaN As the shader compiler is allowed to change the order of multiplications, this issue isn't fixed completely.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions