summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/renderbuffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-03 16:57:58 +0000
committerBrian Paul <[email protected]>2005-09-03 16:57:58 +0000
commitacafeeb6dce74382fb3a48b83ab72bf67b7581ea (patch)
tree63bae8571a6008628384d37514932bfd17c2f8d4 /src/mesa/main/renderbuffer.c
parent54be0763e1c24091ba522139e899d0254143ba7d (diff)
Remove last remnants of pre-renderbuffer code.
Diffstat (limited to 'src/mesa/main/renderbuffer.c')
-rw-r--r--src/mesa/main/renderbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c
index 7d21a8e3581..480906533fd 100644
--- a/src/mesa/main/renderbuffer.c
+++ b/src/mesa/main/renderbuffer.c
@@ -1845,8 +1845,10 @@ _mesa_add_renderbuffer(struct gl_framebuffer *fb,
{
assert(fb);
assert(rb);
+#if 00
/* there should be no previous renderbuffer on this attachment point! */
assert(fb->Attachment[bufferName].Renderbuffer == NULL);
+#endif
assert(bufferName < BUFFER_COUNT);
/* winsys vs. user-created buffer cross check */