summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-10 09:25:34 -0600
committerBrian Paul <[email protected]>2009-10-10 09:25:34 -0600
commit57e3eb1b178e861dee7695c9a5e1c71a4333192d (patch)
tree9e4e6fc113820d1754f0955ce3f768d8d1ca1eec /src/mesa/main
parent39daa763b59cc80d862709e99ee3619bd0f7a14d (diff)
parent768481ed40cb7530fdbadbf4d6dc00b74209adf1 (diff)
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/mesa/main')
-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 38be8266e05..5bef7c84fb2 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);