diff options
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_renderer.c')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_renderer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_renderer.c b/src/gallium/state_trackers/xa/xa_renderer.c index 23345fe..b775509 100644 --- a/src/gallium/state_trackers/xa/xa_renderer.c +++ b/src/gallium/state_trackers/xa/xa_renderer.c @@ -108,7 +108,8 @@ renderer_init_state(struct xa_context *r) /* XXX: move to renderer_init_state? */ memset(&raster, 0, sizeof(struct pipe_rasterizer_state)); - raster.gl_rasterization_rules = 1; + raster.half_pixel_center = 1; + raster.bottom_edge_rule = 1; raster.depth_clip = 1; cso_set_rasterizer(r->cso, &raster); |