summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2013-01-07 15:55:31 -0800
committerIan Romanick <[email protected]>2013-01-15 15:08:12 -0800
commit252573ae0fe6c928885f005cf6e77200b45601fb (patch)
tree1910a5021dff5daed20fff232fe109a679c41b68 /src/mesa/drivers/common
parentf727fc630462c91f19a59e8b48e3a4224dd0ec52 (diff)
mesa: Fix GL error generation in glBlitFramebuffer()
V2: If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer and drawRenderBuffer must match unless one of the two buffers doesn't have depth, in which case it's not blitted, so the format check should be ignored. Same comment goes for stencil formats in depth renderbuffers if mask has GL_DEPTH_BUFFER_BIT set. v3 (Kayden): Refactor code to be a bit more readable. Signed-off-by: Anuj Phogat <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common')
0 files changed, 0 insertions, 0 deletions