summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-03-14 14:32:50 +0100
committerMarek Olšák <[email protected]>2010-03-14 14:40:38 +0100
commit6e4b05637fa08020a9142b2391166d2c62b54896 (patch)
tree7216aba8f5e5d306d47654f6872ebda20c86ddcc /src/gallium/drivers/r300/r300_context.c
parent2615bba182bf6ec4b406d31e714be78b9161ce8b (diff)
r300g: remove pipe_context from r300_screen
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 8606c0004e5..ed24fb54ab1 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -162,8 +162,6 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
if (!r300)
return NULL;
- r300screen->ctx = (struct pipe_context*)r300;
-
r300->winsys = radeon_winsys;
r300->context.winsys = (struct pipe_winsys*)radeon_winsys;
@@ -212,8 +210,6 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
r300_init_transfer_functions(r300);
- /* r300_init_surface_functions(r300); */
-
r300_init_state_functions(r300);
r300->invariant_state.dirty = TRUE;