From: Ben Skeggs Date: Mon, 12 Jan 2009 06:15:58 +0000 (+1000) Subject: nouveau: fix warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecb2eb4c991be40cf4235fadd286c942179f4036;p=mesa.git nouveau: fix warning --- diff --git a/src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c b/src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c index 006978b1821..aacfe984d18 100644 --- a/src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c +++ b/src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c @@ -42,7 +42,7 @@ nouveau_context_create(const __GLcontextModes *glVis, if (nouveau_context_init(&nv_screen->base, driContextPriv->hHWContext, (drmLock *)&driScrnPriv->pSAREA->lock, - nv_share, &nv->base)) { + &nv_share->base, &nv->base)) { return GL_FALSE; }