diff options
author | Brian Paul <[email protected]> | 2012-01-09 08:11:33 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-09 08:11:33 -0700 |
commit | 3f1fab06844f696de44d9a56e83ff62e8ea576bd (patch) | |
tree | cb125b033c7dc57d16354dffbddb6b287c522763 /include | |
parent | 84c38c739e9faae86509eeec2bab4710813f9cc2 (diff) |
mesa: check depth, stencil formats (not depths) in glBlitFramebuffer
We were only comparing the number of depth and stencil bits but the
extension spec actually says the formats must match:
The error INVALID_OPERATION is generated if BlitFramebufferEXT is
called and <mask> includes DEPTH_BUFFER_BIT or STENCIL_BUFFER_BIT
and the source and destination depth or stencil buffer formats do
not match.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions