mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
new comment
This commit is contained in:
parent
f0da327c87
commit
ab8ef280ec
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue