u_blitter: Coords are normalized.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 14 Apr 2010 06:28:11 +0000 (23:28 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 14 Apr 2010 06:29:03 +0000 (23:29 -0700)
Thanks to Luca Barbieri for spotting this one.

src/gallium/auxiliary/util/u_blitter.c

index 104cbf7f6c4aa601f558c83f97370fb616f41717..f3b42f7bf9cf4f1806c1f13353e2dee6b24021fb 100644 (file)
@@ -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. */