diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-06 10:17:59 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-06 10:17:59 +1000 |
commit | 1d24e6ec1d13c2b88b858997900aa8b69de92b13 (patch) | |
tree | e72b97bfb638fbfef40569e8d8ee4be01a816fd4 | |
parent | 279e471750e3ee6a4841ebf16ef2d038e1c12077 (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.c | 2 |
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 |