diff options
author | Michel Dänzer <[email protected]> | 2010-03-10 18:33:17 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2010-03-10 18:33:17 +0100 |
commit | a56da1005d30da60701e33b75d5f4f37096df060 (patch) | |
tree | 839d749316482cd858843d51ab2198cece18797b /src/mesa | |
parent | a840bf4146b7e06cc94eb59d8265fe6593b232c4 (diff) | |
parent | 766d90f1a201d8fd19e49df14d712efbb82223b4 (diff) |
Merge branch '7.8'
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tex_copy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c index a4bb03d5d39..5cfad6fc3c8 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c +++ b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c @@ -93,6 +93,10 @@ do_copy_texsubimage(GLcontext *ctx, src_bpp = _mesa_get_format_bytes(src_mesaformat); dst_bpp = _mesa_get_format_bytes(dst_mesaformat); if (!radeon->vtbl.check_blit(dst_mesaformat)) { + /* depth formats tend to be special */ + if (_mesa_get_format_bits(dst_mesaformat, GL_DEPTH_BITS) > 0) + return GL_FALSE; + if (src_bpp != dst_bpp) return GL_FALSE; |