diff options
author | Luca Barbieri <[email protected]> | 2010-08-18 22:57:02 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-20 12:04:02 +0200 |
commit | 4a9bfb24eb907080b2e3e49215ad9912758d56c6 (patch) | |
tree | d60e6840b962f51b92a7d7d08739e959190fd006 /src/gallium/auxiliary/util | |
parent | cbe367227959a32ff20e146106162a81d2be02c3 (diff) |
u_staging: use PIPE_TEXTURE_RECT
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_staging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_staging.c b/src/gallium/auxiliary/util/u_staging.c index 607c31f5ee7..e2dc696d200 100644 --- a/src/gallium/auxiliary/util/u_staging.c +++ b/src/gallium/auxiliary/util/u_staging.c @@ -8,7 +8,7 @@ util_staging_resource_template(struct pipe_resource *pt, unsigned width, unsigne { memset(template, 0, sizeof(struct pipe_resource)); if(pt->target != PIPE_BUFFER && depth <= 1) - template->target = PIPE_TEXTURE_2D; + template->target = PIPE_TEXTURE_RECT; else template->target = pt->target; template->format = pt->format; |