summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-05-14 18:35:37 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-05-14 18:35:37 +1000
commit9a01ee4424718e0c3015c1f0477cae63ee63d96b (patch)
tree07907492407edb18ddb057e2fd26d28b06c3c007 /src/gallium/drivers/nv40
parentbc1696862c9ffa8d8f2c11d3120310e82f2e9327 (diff)
nv40: fix typo in one of the previous commits
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r--src/gallium/drivers/nv40/nv40_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c
index 1bf0931e4d..0336b84e5f 100644
--- a/src/gallium/drivers/nv40/nv40_screen.c
+++ b/src/gallium/drivers/nv40/nv40_screen.c
@@ -155,7 +155,7 @@ nv40_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
struct nv40_screen *screen = CALLOC_STRUCT(nv40_screen);
struct nouveau_stateobj *so;
unsigned curie_class;
- unsigned chipset = nvws->channel->device;
+ unsigned chipset = nvws->channel->device->chipset;
int ret;
if (!screen)