projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe3672
)
u_staging: use PIPE_TEXTURE_RECT
author
Luca Barbieri
<luca@luca-barbieri.com>
Wed, 18 Aug 2010 20:57:02 +0000
(22:57 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Fri, 20 Aug 2010 10:04:02 +0000
(12:04 +0200)
src/gallium/auxiliary/util/u_staging.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_staging.c
b/src/gallium/auxiliary/util/u_staging.c
index 607c31f5ee779130dcdab45a39e7323745ccd52c..e2dc696d200b74adcc23e8d550d4572842654020 100644
(file)
--- 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;