mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
r300g: don't use pipe_context::winsys
This commit is contained in:
parent
f16c40d2f6
commit
c9e9cfbf60
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue