diff --git a/tests/display/test_glsl_shader.py b/tests/display/test_glsl_shader.py index a49c9a0468..d6dd9ff5a5 100644 --- a/tests/display/test_glsl_shader.py +++ b/tests/display/test_glsl_shader.py @@ -615,16 +615,16 @@ def test_glsl_state_light_source(gsg): assert(p3d_LightSource[0].shadowViewMatrix[0][1] == 0); assert(p3d_LightSource[0].shadowViewMatrix[0][2] == 0); assert(p3d_LightSource[0].shadowViewMatrix[0][3] == 0); - assert(p3d_LightSource[0].shadowViewMatrix[1][0] == 0); - assert(p3d_LightSource[0].shadowViewMatrix[1][1] > 0.2886); - assert(p3d_LightSource[0].shadowViewMatrix[1][1] < 0.2887); - assert(p3d_LightSource[0].shadowViewMatrix[1][2] == 0); - assert(p3d_LightSource[0].shadowViewMatrix[1][3] == 0); - assert(p3d_LightSource[0].shadowViewMatrix[2][0] == -0.5); - assert(p3d_LightSource[0].shadowViewMatrix[2][1] == -0.5); - assert(p3d_LightSource[0].shadowViewMatrix[2][2] > -1.00002); - assert(p3d_LightSource[0].shadowViewMatrix[2][2] < -1.0); - assert(p3d_LightSource[0].shadowViewMatrix[2][3] == -1); + assert(p3d_LightSource[0].shadowViewMatrix[1][0] == 0.5); + assert(p3d_LightSource[0].shadowViewMatrix[1][1] == 0.5); + assert(p3d_LightSource[0].shadowViewMatrix[1][2] > 1.0); + assert(p3d_LightSource[0].shadowViewMatrix[1][2] < 1.00002); + assert(p3d_LightSource[0].shadowViewMatrix[1][3] == 1); + assert(p3d_LightSource[0].shadowViewMatrix[2][0] == 0); + assert(p3d_LightSource[0].shadowViewMatrix[2][1] > 0.2886); + assert(p3d_LightSource[0].shadowViewMatrix[2][1] < 0.2887); + assert(p3d_LightSource[0].shadowViewMatrix[2][2] == 0); + assert(p3d_LightSource[0].shadowViewMatrix[2][3] == 0); assert(p3d_LightSource[0].shadowViewMatrix[3][0] > -16.2736); assert(p3d_LightSource[0].shadowViewMatrix[3][0] < -16.2734); assert(p3d_LightSource[0].shadowViewMatrix[3][1] > -16.8510);