diff options
author | Marek Olšák <[email protected]> | 2012-02-17 01:26:21 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-17 01:26:56 +0100 |
commit | c9e9cfbf60001c1c35de33b31716c9ffe78fde53 (patch) | |
tree | 3b8a07f73227b44c690a4918c80b0964e4143a0b | |
parent | f16c40d2f6ee8174545bb1d1e999525a37c0178b (diff) |
r300g: don't use pipe_context::winsys
-rw-r--r-- | src/gallium/drivers/r300/r300_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c index 10ff2b019f0..ada094bcb59 100644 --- a/src/gallium/drivers/r300/r300_transfer.c +++ b/src/gallium/drivers/r300/r300_transfer.c @@ -258,7 +258,7 @@ void* 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 = (struct radeon_winsys *)ctx->winsys; + struct radeon_winsys *rws = r300_context(ctx)->rws; struct r300_transfer *r300transfer = r300_transfer(transfer); struct r300_resource *tex = r300_resource(transfer->resource); |