summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-18 17:30:20 +0200
committerLuca Barbieri <[email protected]>2010-08-20 12:04:01 +0200
commitcbe367227959a32ff20e146106162a81d2be02c3 (patch)
tree8f6a44ba85d30d45ee2244e79657b5796468dc64
parentae0ef6f69f351cacdc7eaa9b21097a7c1b414e44 (diff)
u_blitter: use TGSI_TEXTURE_RECT
This seems to make sense, although I suspect the semantics of TGSI_TEXTURE_RECT need to be closely reviewed.
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 4b69a7fb6ab..9c6887b5cda 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -570,7 +570,7 @@ pipe_tex_to_tgsi_tex(enum pipe_texture_target pipe_tex_target)
case PIPE_TEXTURE_2D:
return TGSI_TEXTURE_2D;
case PIPE_TEXTURE_RECT:
- return TGSI_TEXTURE_2D;
+ return TGSI_TEXTURE_RECT;
case PIPE_TEXTURE_3D:
return TGSI_TEXTURE_3D;
case PIPE_TEXTURE_CUBE: