mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
tests: fix depth buffer test failure
This commit is contained in:
parent
359ce3e9ef
commit
eafab53729
@ -110,7 +110,7 @@ def test_depth_write(depth_region):
|
||||
|
||||
def test_depth_far_inf(depth_region):
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user