nouveau: fix warning
authorBen Skeggs <skeggsb@gmail.com>
Mon, 12 Jan 2009 06:15:58 +0000 (16:15 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 12 Jan 2009 06:59:34 +0000 (16:59 +1000)
src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c

index 006978b1821349daae17d5de9e0967dc8ba03b7d..aacfe984d1864490aaecaf110efe024caddc5a27 100644 (file)
@@ -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;
        }