st/nine: Fix ff calculation of midVec
authorPatrick Rudolph <siro@das-labor.org>
Mon, 28 Sep 2015 17:44:26 +0000 (19:44 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit9856203f5a589c9ab8e9db240db77f8ec191a3de
treee185e4173010e625eb74fc5cd6223bfbe63a9386
parent921f3eac58238c308352c4d83b4df076c3ef9c56
st/nine: Fix ff calculation of midVec

In case of non local viewer the value has to be subtracted.
Fixes failing WINE tests in test_specular_lighting() (visual.c)

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_ff.c