nv40: fix typo in one of the previous commits
authorBen Skeggs <skeggsb@gmail.com>
Wed, 14 May 2008 08:35:37 +0000 (18:35 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Wed, 14 May 2008 08:35:37 +0000 (18:35 +1000)
src/gallium/drivers/nv40/nv40_screen.c

index 1bf0931e4d9d357f0c0a8d4097b02da8dd471247..0336b84e5f2e3cbefc11383bf2fb9b508c72743f 100644 (file)
@@ -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)