summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blit.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-09-19 23:25:29 +0900
committerJosé Fonseca <[email protected]>2008-09-19 23:25:29 +0900
commitdda5c0c611d55449a7079c9efeaccc417552c5db (patch)
treee9dc6bfc24e36cfed33c474e09ec135f73b70761 /src/gallium/auxiliary/util/u_blit.c
parent984a7c4e9c42cf8ddfcff5b880b522a6dd58bce2 (diff)
util: Use OpenGL rasterization rules in blits and mipmap generation.
Diffstat (limited to 'src/gallium/auxiliary/util/u_blit.c')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 9adf72944e6..d28201ac8dc 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -104,6 +104,7 @@ util_create_blit(struct pipe_context *pipe, struct cso_context *cso)
ctx->rasterizer.cull_mode = PIPE_WINDING_NONE;
ctx->rasterizer.bypass_clipping = 1;
/*ctx->rasterizer.bypass_vs = 1;*/
+ ctx->rasterizer.gl_rasterization_rules = 1;
/* samplers */
memset(&ctx->sampler, 0, sizeof(ctx->sampler));