summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_screen.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-02-29 22:54:40 +1100
committerBen Skeggs <[email protected]>2008-02-29 22:54:40 +1100
commitbaaae562f02563c5966b857c61b3eae7341950e3 (patch)
tree6a24ff2c1db738a3a457991b88a6d5a3064f9bc0 /src/gallium/drivers/nv40/nv40_screen.h
parent84cc07dc89c0ebce4ad55b4b3684d4420a202683 (diff)
nouveau: hand nouveau_winsys in with pipe_screen init
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_screen.h')
-rw-r--r--src/gallium/drivers/nv40/nv40_screen.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.h b/src/gallium/drivers/nv40/nv40_screen.h
index b30a6c5ad57..88b8fed26cf 100644
--- a/src/gallium/drivers/nv40/nv40_screen.h
+++ b/src/gallium/drivers/nv40/nv40_screen.h
@@ -5,6 +5,8 @@
struct nv40_screen {
struct pipe_screen pipe;
+
+ struct nouveau_winsys *nvws;
unsigned chipset;
};
@@ -14,7 +16,4 @@ nv40_screen(struct pipe_screen *screen)
return (struct nv40_screen *)screen;
}
-extern struct pipe_screen *
-nv40_screen_create(struct pipe_winsys *winsys, unsigned chipset);
-
#endif