From a17750b6884939a36947c76a30d3077f1488f943 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 30 Nov 2012 19:11:21 -0800 Subject: [PATCH] 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 --- src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2