summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/quad-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/quad-tex.c')
-rw-r--r--src/gallium/tests/trivial/quad-tex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c
index e9e1f0e..5ed741b 100644
--- a/src/gallium/tests/trivial/quad-tex.c
+++ b/src/gallium/tests/trivial/quad-tex.c
@@ -197,7 +197,8 @@ static void init_prog(struct program *p)
/* rasterizer */
memset(&p->rasterizer, 0, sizeof(p->rasterizer));
p->rasterizer.cull_face = PIPE_FACE_NONE;
- p->rasterizer.gl_rasterization_rules = 1;
+ p->rasterizer.half_pixel_center = 1;
+ p->rasterizer.bottom_edge_rule = 1;
p->rasterizer.depth_clip = 1;
/* sampler */