aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2009-01-12 16:15:58 +1000
committerBen Skeggs <[email protected]>2009-01-12 16:59:34 +1000
commitecb2eb4c991be40cf4235fadd286c942179f4036 (patch)
tree746d35972435c40ce6dfa3cbad4a43d04dd084ae /src/gallium
parent73f1857aeea8f48deb3d12ef2bfc1fca00df6a69 (diff)
nouveau: fix warning
Diffstat (limited to 'src/gallium')
-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 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;
}