summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-09 13:22:00 -0600
committerBrian Paul <brianp@vmware.com>2009-10-09 13:22:00 -0600
commitce64e063a8b32d842a3b5dfe62178e9e4cd89f9c (patch)
tree8325017ad8d54c0fea31350f4738782cc659d647 /src
parentf7fb30f03badf7f3ac5d66e87acb8cbb1c5aee0b (diff)
mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()
Fixes bug 24426.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/renderbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index 38be8266e0..5bef7c84fb 100644
--- 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);