projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ecc9d9
)
r300g: silence warnings
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 10 Feb 2016 19:14:53 +0000
(20:14 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 10 Feb 2016 19:16:17 +0000
(20:16 +0100)
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 842e70a689986ec0042867f00a08722d504ea409..9d00f4d937370a300768f748cfb6eca2804b357f 100644
(file)
--- a/
src/gallium/drivers/r300/r300_transfer.c
+++ b/
src/gallium/drivers/r300/r300_transfer.c
@@
-246,9
+246,7
@@
r300_texture_transfer_map(struct pipe_context *ctx,
void r300_texture_transfer_unmap(struct pipe_context *ctx,
struct pipe_transfer *transfer)
{
- struct radeon_winsys *rws = r300_context(ctx)->rws;
struct r300_transfer *trans = r300_transfer(transfer);
- struct r300_resource *tex = r300_resource(transfer->resource);
if (trans->linear_texture) {
if (transfer->usage & PIPE_TRANSFER_WRITE) {