projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130b12f
)
mesa: drop unneeded assert
author
Emil Velikov
<emil.velikov@collabora.com>
Fri, 11 Nov 2016 16:43:27 +0000
(16:43 +0000)
committer
Emil 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
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index 20d03fe281c12d4a0fc5a858a9cda439190a1efe..c06130dc8d7f65479267c34c1de860e6a0fdfb5c 100644
(file)
--- 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);