From e70d0d22a2dccc1df2c88890a2964491cdafac94 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 11 Nov 2016 16:43:27 +0000 Subject: [PATCH] mesa: drop unneeded assert As seen a couple of lines above - there's no way for the assert to trigger. Signed-off-by: Emil Velikov Reviewed-by: Brian Paul --- src/mesa/main/framebuffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 20d03fe281c..c06130dc8d7 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -256,7 +256,6 @@ _mesa_reference_framebuffer_(struct gl_framebuffer **ptr, *ptr = NULL; } - assert(!*ptr); if (fb) { mtx_lock(&fb->Mutex); -- 2.30.2