Commit 8ab7bb47 authored by Marek Olšák's avatar Marek Olšák
Browse files

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.
parent 0817182b
...@@ -704,7 +704,7 @@ static void blitter_set_texcoords(struct blitter_context_priv *ctx, ...@@ -704,7 +704,7 @@ static void blitter_set_texcoords(struct blitter_context_priv *ctx,
/* pointer, stride in floats */ /* pointer, stride in floats */
&face_coord[0][0], 2, &face_coord[0][0], 2,
&ctx->vertices[0][1][0], 8, &ctx->vertices[0][1][0], 8,
TRUE); FALSE);
} else { } else {
set_texcoords_in_vertices(coord, &ctx->vertices[0][1][0], 8); set_texcoords_in_vertices(coord, &ctx->vertices[0][1][0], 8);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment