summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-07 23:21:59 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-07 23:21:59 +0000
commitab8ef280ec1c435cd04a481f50cbc3cb6b024744 (patch)
tree68e5bf93efa9fe01e979b4f6aca8187b572dcda9 /src
parentf0da327c878057d120d98e15b47a45dbf36fce73 (diff)
new comment
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/fbobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index c170f917d9..3980d09f8a 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -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;
}