summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-14 03:19:01 +0100
committerMarek Olšák <maraeo@gmail.com>2010-03-07 15:39:37 +0100
commit6c7fac846ef99cde5305cf1011b4570bd1901625 (patch)
treee30f2e5eba880f7a84b21a7cd407dfa30af0494c /src/gallium/drivers/r300/r300_context.c
parent4012219f1f215cec9406be644b6b9d421bb5d8e4 (diff)
r300g: add ability to tile/detile textures using blit during transfers
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index ec1c586522..e43e088b36 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -159,6 +159,8 @@ 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;