summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index a2ed0270cb..4aef5030fc 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -18,10 +18,10 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
return NULL;
context->winsys = amd_winsys;
- context->pipe.winsys = winsys;
- context->pipe.screen = screen;
+ context->context.winsys = winsys;
+ context->context.screen = screen;
- context->pipe.destroy = r300_destroy_context;
+ context->context.destroy = r300_destroy_context;
- return &context->pipe;
+ return &context->context;
} \ No newline at end of file