summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-02-10 20:14:53 +0100
committerMarek Olšák <[email protected]>2016-02-10 20:16:17 +0100
commitd9c8a8fe6199cb6526c01e19e36e77f0e4a1b257 (patch)
treed2c0e277e67dd2d81f398f74a17ea7f26a8146f0
parent0ecc9d907e6a76367ddf1879d3083c794337a8b5 (diff)
r300g: silence warnings
-rw-r--r--src/gallium/drivers/r300/r300_transfer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index 842e70a6899..9d00f4d9373 100644
--- 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) {