summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/quad-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/quad-tex.c')
-rw-r--r--src/gallium/tests/graw/quad-tex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/quad-tex.c b/src/gallium/tests/graw/quad-tex.c
index 46f8be0c446..6cfcea33dd1 100644
--- a/src/gallium/tests/graw/quad-tex.c
+++ b/src/gallium/tests/graw/quad-tex.c
@@ -188,7 +188,8 @@ static void init( void )
void *handle;
memset(&rasterizer, 0, sizeof rasterizer);
rasterizer.cull_face = PIPE_FACE_NONE;
- rasterizer.gl_rasterization_rules = 1;
+ rasterizer.half_pixel_center = 1;
+ rasterizer.bottom_edge_rule = 1;
rasterizer.depth_clip = 1;
handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer);
info.ctx->bind_rasterizer_state(info.ctx, handle);