From: Ben Skeggs Date: Mon, 6 Jun 2011 00:17:59 +0000 (+1000) Subject: dri/nouveau: fix gnome-shell segfault X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d24e6ec1d13c2b88b858997900aa8b69de92b13;p=mesa.git dri/nouveau: fix gnome-shell segfault Signed-off-by: Ben Skeggs --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index 71dde413873..22b99571e73 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