From: Corbin Simpson Date: Wed, 14 Apr 2010 06:28:11 +0000 (-0700) Subject: u_blitter: Coords are normalized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ee0d19ccf768c4c12c3c3476c1cd7eff508629a;p=mesa.git u_blitter: Coords are normalized. Thanks to Luca Barbieri for spotting this one. --- diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 104cbf7f6c4..f3b42f7bf9c 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -168,6 +168,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe) sampler_state->wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; sampler_state->wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; sampler_state->wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; + sampler_state->normalized_coords = TRUE; /* The sampler state objects which sample from a specified mipmap level * are created on-demand. */