summaryrefslogtreecommitdiffstats
path: root/o3d/tests/selenium/tests/texture-set-test.html
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/tests/selenium/tests/texture-set-test.html')
-rw-r--r--o3d/tests/selenium/tests/texture-set-test.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/o3d/tests/selenium/tests/texture-set-test.html b/o3d/tests/selenium/tests/texture-set-test.html
index a421e5f..a58d024 100644
--- a/o3d/tests/selenium/tests/texture-set-test.html
+++ b/o3d/tests/selenium/tests/texture-set-test.html
@@ -92,12 +92,11 @@ function initStep2(clientElements) {
var clientWidth = g_client.width;
var clientHeight = g_client.height;
- // The + 0.5 makes this pixel aligned.
g_viewInfo.drawContext.projection = g_math.matrix4.orthographic(
- -clientWidth * 0.5 + 0.5,
- clientWidth * 0.5 + 0.5,
- -clientHeight * 0.5 + 0.5,
- clientHeight * 0.5 + 0.5,
+ -clientWidth * 0.5,
+ clientWidth * 0.5,
+ -clientHeight * 0.5,
+ clientHeight * 0.5,
0.001,
1000);
g_viewInfo.drawContext.view = g_math.matrix4.lookAt(