new comment
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 7 Sep 2005 23:21:59 +0000 (23:21 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 7 Sep 2005 23:21:59 +0000 (23:21 +0000)
src/mesa/main/fbobject.c

index c170f917d9be466cca5a8273130c201ecda50fb2..3980d09f8ae3b22dfd2bdd06b2fc0653acfdce15 100644 (file)
@@ -1184,6 +1184,7 @@ _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment,
    }
 
    if (ctx->DrawBuffer->Name == 0) {
+      /* Can't attach new renderbuffers to a window system framebuffer */
       _mesa_error(ctx, GL_INVALID_OPERATION, "glFramebufferRenderbufferEXT");
       return;
    }