mesa: don't normalize spot light direction until validation time
authorBrian Paul <brianp@vmware.com>
Fri, 3 Apr 2009 15:55:10 +0000 (09:55 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 3 Apr 2009 16:09:27 +0000 (10:09 -0600)
commit650d147289014e8a98f65fbbcd1855b2a4f19d2f
tree3464c81f196cd59bdbdcbdce75f1d08dc71cc4e8
parentbe4c2d9a335aa38418000dd55845cea39c84261f
mesa: don't normalize spot light direction until validation time

In glLight() we're only supposed to transform the direction by the modelview
matrix, not normalized it too.
src/mesa/main/light.c