From c9e9cfbf60001c1c35de33b31716c9ffe78fde53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 17 Feb 2012 01:26:21 +0100 Subject: [PATCH] r300g: don't use pipe_context::winsys --- src/gallium/drivers/r300/r300_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2