From: Ben Skeggs Date: Wed, 14 May 2008 08:35:37 +0000 (+1000) Subject: nv40: fix typo in one of the previous commits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a01ee4424718e0c3015c1f0477cae63ee63d96b;p=mesa.git nv40: fix typo in one of the previous commits --- diff --git a/src/gallium/drivers/nv40/nv40_screen.c b/src/gallium/drivers/nv40/nv40_screen.c index 1bf0931e4d9..0336b84e5f2 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)