diff options
Diffstat (limited to 'src/gallium/tests/graw/tri.c')
-rw-r--r-- | src/gallium/tests/graw/tri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tri.c b/src/gallium/tests/graw/tri.c index b62a2ab4896..2267d98a8fe 100644 --- a/src/gallium/tests/graw/tri.c +++ b/src/gallium/tests/graw/tri.c @@ -128,7 +128,8 @@ static void init( void ) rasterizer.half_pixel_center = 1; rasterizer.bottom_edge_rule = 1; rasterizer.flatshade = FlatShade; - rasterizer.depth_clip = 1; + rasterizer.depth_clip_near = 1; + rasterizer.depth_clip_far = 1; handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); info.ctx->bind_rasterizer_state(info.ctx, handle); } |