Fix light position transformation.

Change-Id: Ia12819357406c6ee98f0af2909d793cb62bfa62f
Reviewed-on: https://swiftshader-review.googlesource.com/3510
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/libGLES_CM/Context.cpp b/src/OpenGL/libGLES_CM/Context.cpp
index 8cacba3..334b7dc 100644
--- a/src/OpenGL/libGLES_CM/Context.cpp
+++ b/src/OpenGL/libGLES_CM/Context.cpp
@@ -1753,7 +1753,7 @@
 	device->setEmissiveMaterialSource(sw::MATERIAL_MATERIAL);

 

     device->setProjectionMatrix(projectionStack.current());

-    device->setModelMatrix(modelViewStack.current());

+    device->setViewMatrix(modelViewStack.current());

     device->setTextureMatrix(0, textureStack0.current());

 	device->setTextureMatrix(1, textureStack1.current());

 	device->setTextureTransform(0, textureStack0.isIdentity() ? 0 : 4, false);