summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.e.paul@gmail.com>2012-11-30 19:11:21 -0800
committerAndreas Boll <andreas.boll.dev@gmail.com>2013-02-14 09:48:31 +0100
commit15693b7925ccdd45bbb60b375ce6b7a3f60bfa3e (patch)
tree7a7f03c09bf205b31cf33c4bd438732deb2f4ef7
parentdddc5df5192931f40da4f9a4a3b7b59438bc908a (diff)
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 <vlee@freedesktop.org> (cherry picked from commit a17750b6884939a36947c76a30d3077f1488f943)
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
index e95240f229..919c8c1cad 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;
}