diff options
author | Ben Skeggs <[email protected]> | 2008-02-29 22:54:40 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-02-29 22:54:40 +1100 |
commit | baaae562f02563c5966b857c61b3eae7341950e3 (patch) | |
tree | 6a24ff2c1db738a3a457991b88a6d5a3064f9bc0 /src/gallium/drivers/nv40/nv40_screen.c | |
parent | 84cc07dc89c0ebce4ad55b4b3684d4420a202683 (diff) |
nouveau: hand nouveau_winsys in with pipe_screen init
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_screen.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c index 1941598c641..66e84b68908 100644 --- a/src/gallium/drivers/nv40/nv40_screen.c +++ b/src/gallium/drivers/nv40/nv40_screen.c @@ -125,7 +125,8 @@ nv40_screen_destroy(struct pipe_screen *pscreen) } struct pipe_screen * -nv40_screen_create(struct pipe_winsys *ws, unsigned chipset) +nv40_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws, + unsigned chipset) { struct nv40_screen *screen = CALLOC_STRUCT(nv40_screen); @@ -133,6 +134,7 @@ nv40_screen_create(struct pipe_winsys *ws, unsigned chipset) return NULL; screen->chipset = chipset; + screen->nvws = nvws; screen->pipe.winsys = ws; screen->pipe.destroy = nv40_screen_destroy; |