From: Emil Velikov Date: Fri, 11 Nov 2016 16:43:27 +0000 (+0000) Subject: mesa: drop unneeded assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e70d0d22a2dccc1df2c88890a2964491cdafac94;p=mesa.git 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 --- 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);