mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
radeon: fallback to software in glCopyTexImage if blit isn't available
This commit is contained in:
parent
2872c1cc32
commit
8ccd83ab92
1 changed files with 4 additions and 0 deletions
|
|
@ -53,6 +53,10 @@ do_copy_texsubimage(GLcontext *ctx,
|
|||
unsigned src_width;
|
||||
unsigned dst_width;
|
||||
|
||||
if (!radeon->vtbl.blit) {
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (_mesa_get_format_bits(timg->base.TexFormat, GL_DEPTH_BITS) > 0) {
|
||||
rrb = radeon_get_depthbuffer(radeon);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue