projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e72b877
)
r300g: fix transfering compressed textures
author
Marek Olšák
<maraeo@gmail.com>
Thu, 8 Jul 2010 19:36:47 +0000
(21:36 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 8 Jul 2010 19:37:04 +0000
(21:37 +0200)
src/gallium/drivers/r300/r300_transfer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_transfer.c
b/src/gallium/drivers/r300/r300_transfer.c
index 02421a58b835ad82398ac5a27033e8141f1323da..2eb93e19111a2eae79a009ec848b4e525956a9bb 100644
(file)
--- a/
src/gallium/drivers/r300/r300_transfer.c
+++ b/
src/gallium/drivers/r300/r300_transfer.c
@@
-204,7
+204,7
@@
r300_texture_get_transfer(struct pipe_context *ctx,
r300_texture_get_stride(r300screen, tex, sr.level);
trans->offset = r300_texture_get_offset(tex, sr.level, box->z, sr.face);
- if (referenced_cs
&& (usage & PIPE_TRANSFER_READ)
)
+ if (referenced_cs)
ctx->flush(ctx, PIPE_FLUSH_RENDER_CACHE, NULL);
return &trans->transfer;
}