From: Brian Paul Date: Sat, 1 Dec 2012 03:11:21 +0000 (-0800) Subject: nouveau: Fix build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a17750b6884939a36947c76a30d3077f1488f943;p=mesa.git nouveau: Fix build. Fixes nouveau build failure introduced at c73245882c7ff1277b190b97f093f7b423a22f10. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57746 Signed-off-by: Vinson Lee --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index c47bce8ccef..156b4a36bbe 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c @@ -195,7 +195,7 @@ nouveau_renderbuffer_dri_new(GLenum format, __DRIdrawable *drawable) rb->AllocStorage = nouveau_renderbuffer_dri_storage; if (!set_renderbuffer_format(rb, format)) { - nouveau_renderbuffer_del(rb); + nouveau_renderbuffer_del(NULL, rb); return NULL; }