From 753af3a206e3976be9a0954578d866218fdbf30a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 25 Mar 2006 17:57:52 +0000 Subject: [PATCH] fix issue in _mesa_free_framebuffer_data() --- src/mesa/main/framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 0b543df9a5c..5cea6d1a173 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -178,7 +178,7 @@ _mesa_free_framebuffer_data(struct gl_framebuffer *fb) for (i = 0; i < BUFFER_COUNT; i++) { struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; - if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) { + if (att->Renderbuffer) { struct gl_renderbuffer *rb = att->Renderbuffer; rb->RefCount--; if (rb->RefCount == 0) { -- 2.30.2