projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0da327
)
new comment
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 7 Sep 2005 23:21:59 +0000
(23:21 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 7 Sep 2005 23:21:59 +0000
(23:21 +0000)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index c170f917d9be466cca5a8273130c201ecda50fb2..3980d09f8ae3b22dfd2bdd06b2fc0653acfdce15 100644
(file)
--- 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;
}