summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-11-11 16:43:27 +0000
committerEmil Velikov <[email protected]>2016-11-21 14:46:40 +0000
commite70d0d22a2dccc1df2c88890a2964491cdafac94 (patch)
treed9f84c1fdae8e3cf569c526f19f4e62fa6940e7c /src/mesa/main/framebuffer.c
parent130b12f96a4e60c88e8ccd5e673413e0a8c0c127 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 0 insertions, 1 deletions
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);