mesa: remove incorrect assertion
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 15:55:48 +0000 (09:55 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 16:04:03 +0000 (10:04 -0600)
src/mesa/main/fbobject.c

index 6ef90578c12915c746dfd189b67719705c1c1ae9..4190a95e419241bdc093b571818802cfdd29270b 100644 (file)
@@ -180,7 +180,6 @@ _mesa_remove_attachment(GLcontext *ctx, struct gl_renderbuffer_attachment *att)
       ASSERT(!att->Texture);
    }
    if (att->Type == GL_TEXTURE || att->Type == GL_RENDERBUFFER_EXT) {
-      ASSERT(att->Renderbuffer);
       ASSERT(!att->Texture);
       _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); /* unbind */
       ASSERT(!att->Renderbuffer);