aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-03-16 03:40:54 +0100
committerMarek Olšák <[email protected]>2014-04-04 19:38:36 +0200
commit8ab7bb4707ae5fb6e5e841f0f2e369c14b5ffbea (patch)
tree187a88d6c57faca535a3a9eae2888caf7d15655d
parent0817182b2f3ec73cc79fab72f791e14d98d5306f (diff)
gallium/u_blitter: don't adjust cubemap coordinates by a small number
It may cause issues with mipmap generation. I think it was used to make some piglit tests pass on r300g.
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 1e7f374abff..64a3dcf3aed 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -704,7 +704,7 @@ static void blitter_set_texcoords(struct blitter_context_priv *ctx,
/* pointer, stride in floats */
&face_coord[0][0], 2,
&ctx->vertices[0][1][0], 8,
- TRUE);
+ FALSE);
} else {
set_texcoords_in_vertices(coord, &ctx->vertices[0][1][0], 8);
}