summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-04-13 23:28:11 -0700
committerCorbin Simpson <[email protected]>2010-04-13 23:29:03 -0700
commit2ee0d19ccf768c4c12c3c3476c1cd7eff508629a (patch)
treee9d82c295f6b3f4c4fa488fe838e776f9889997e /src
parentef745cf95de4f184fc3bb846323c3a508b8d4b52 (diff)
u_blitter: Coords are normalized.
Thanks to Luca Barbieri for spotting this one.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c1
1 files changed, 1 insertions, 0 deletions
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. */