Fix copying the listener Up vector

This commit is contained in:
Chris Robinson 2012-10-12 23:35:00 -07:00
parent 06ab9cf70e
commit 73105b2d4b

View File

@ -128,7 +128,7 @@ static ALvoid CalcListenerParams(ALlistener *Listener)
aluNormalize(N);
V[0] = Listener->Up[0];
V[1] = Listener->Up[1];
V[2] = Listener->Up[1];
V[2] = Listener->Up[2];
aluNormalize(V);
/* Build and normalize right-vector */
aluCrossproduct(N, V, U);