summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-06 10:17:59 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-06-06 10:17:59 +1000
commit1d24e6ec1d13c2b88b858997900aa8b69de92b13 (patch)
treee72b97bfb638fbfef40569e8d8ee4be01a816fd4
parent279e471750e3ee6a4841ebf16ef2d038e1c12077 (diff)
dri/nouveau: fix gnome-shell segfault
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index 71dde41387..22b99571e7 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c
@@ -261,7 +261,7 @@ nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw)
assert(!ret);
}
- _mesa_resize_framebuffer(NULL, fb, draw->w, draw->h);
+ _mesa_resize_framebuffer(ctx, fb, draw->w, draw->h);
}
static void