mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting
authorBrian Paul <brianp@vmware.com>
Wed, 5 Aug 2009 19:44:59 +0000 (13:44 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Aug 2009 19:44:59 +0000 (13:44 -0600)
commitdcebe220f430221821a10944fbdb639a9252bfef
tree5806aa764f04e4c86697371b3494b738bd3ec617
parentf792137593b16b850a8a95dbb4859d49effb9f7c
mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting

If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or
GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent,
report an error.
src/mesa/main/fbobject.c