mesa: drop unneeded assert
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 11 Nov 2016 16:43:27 +0000 (16:43 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Nov 2016 14:46:40 +0000 (14:46 +0000)
As seen a couple  of lines above - there's no way for the assert to
trigger.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/framebuffer.c

index 20d03fe281c12d4a0fc5a858a9cda439190a1efe..c06130dc8d7f65479267c34c1de860e6a0fdfb5c 100644 (file)
@@ -256,7 +256,6 @@ _mesa_reference_framebuffer_(struct gl_framebuffer **ptr,
 
       *ptr = NULL;
    }
-   assert(!*ptr);
 
    if (fb) {
       mtx_lock(&fb->Mutex);