projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7fb30f
)
mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()
author
Brian Paul
<brianp@vmware.com>
Fri, 9 Oct 2009 19:22:00 +0000
(13:22 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 9 Oct 2009 19:22:00 +0000
(13:22 -0600)
Fixes bug 24426.
src/mesa/main/renderbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/renderbuffer.c
b/src/mesa/main/renderbuffer.c
index 38be8266e05c5bd6df0fa3e83e3f7525bbb0af84..5bef7c84fb203ececf97b686b9e3c60f3ba879f9 100644
(file)
--- a/
src/mesa/main/renderbuffer.c
+++ b/
src/mesa/main/renderbuffer.c
@@
-1955,7
+1955,7
@@
_mesa_add_aux_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb,
return GL_FALSE;
}
- assert(numBuffers < MAX_AUX_BUFFERS);
+ assert(numBuffers <
=
MAX_AUX_BUFFERS);
for (i = 0; i < numBuffers; i++) {
struct gl_renderbuffer *rb = _mesa_new_renderbuffer(ctx, 0);