Module: Mesa
Branch: master
Commit: 2ee0d19ccf768c4c12c3c3476c1cd7eff508629a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ee0d19ccf768c4c12c3c3476c1cd7eff508629a

Author: Corbin Simpson <mostawesomed...@gmail.com>
Date:   Tue Apr 13 23:28:11 2010 -0700

u_blitter: Coords are normalized.

Thanks to Luca Barbieri for spotting this one.

---

 src/gallium/auxiliary/util/u_blitter.c |    1 +
 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 104cbf7..f3b42f7 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. */
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to