nouveau: Fix build.
authorBrian Paul <brian.e.paul@gmail.com>
Sat, 1 Dec 2012 03:11:21 +0000 (19:11 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 1 Dec 2012 03:11:21 +0000 (19:11 -0800)
Fixes nouveau build failure introduced at
c73245882c7ff1277b190b97f093f7b423a22f10.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57746
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_fbo.c

index c47bce8ccef391546f0286e5bea001e1f1217385..156b4a36bbe23dfcc3350e49a6ebb4376f2b6830 100644 (file)
@@ -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;
        }