summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-02-29 22:54:40 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-02-29 22:54:40 +1100
commitbaaae562f02563c5966b857c61b3eae7341950e3 (patch)
tree6a24ff2c1db738a3a457991b88a6d5a3064f9bc0 /src/gallium/drivers/nv40/nv40_context.c
parent84cc07dc89c0ebce4ad55b4b3684d4420a202683 (diff)
nouveau: hand nouveau_winsys in with pipe_screen init
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_context.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.c b/src/gallium/drivers/nv40/nv40_context.c
index a7f64c6e9e..679c2ddc6b 100644
--- a/src/gallium/drivers/nv40/nv40_context.c
+++ b/src/gallium/drivers/nv40/nv40_context.c
@@ -196,11 +196,12 @@ nv40_destroy(struct pipe_context *pipe)
}
struct pipe_context *
-nv40_create(struct pipe_screen *pscreen, struct nouveau_winsys *nvws)
+nv40_create(struct pipe_screen *pscreen)
{
struct pipe_winsys *ws = pscreen->winsys;
struct nv40_context *nv40;
unsigned chipset = nv40_screen(pscreen)->chipset;
+ struct nouveau_winsys *nvws = nv40_screen(pscreen)->nvws;
nv40 = CALLOC(1, sizeof(struct nv40_context));
if (!nv40)