Browse Source

tests: fix depth buffer test failure

rdb 7 years ago
parent
commit
eafab53729
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/display/test_depth_buffer.py

+ 1 - 1
tests/display/test_depth_buffer.py

@@ -110,7 +110,7 @@ def test_depth_write(depth_region):
 
 
 def test_depth_far_inf(depth_region):
 def test_depth_far_inf(depth_region):
     inf = float("inf")
     inf = float("inf")
-    assert 0.99 > render_depth_pixel(depth_region, 100.0, near=1, far=inf, clear=1.0)
+    assert 0.99 > render_depth_pixel(depth_region, 10.0, near=1, far=inf, clear=1.0)
 
 
 
 
 def test_depth_clipping(depth_region):
 def test_depth_clipping(depth_region):