summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-01-12 16:15:58 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-01-12 16:59:34 +1000
commitecb2eb4c991be40cf4235fadd286c942179f4036 (patch)
tree746d35972435c40ce6dfa3cbad4a43d04dd084ae /src
parent73f1857aeea8f48deb3d12ef2bfc1fca00df6a69 (diff)
nouveau: fix warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/drm/nouveau/dri/nouveau_context_dri.c2
1 files changed, 1 insertions, 1 deletions
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 006978b182..aacfe984d1 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;
}