mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
svga: fix src/dst typo in can_blit_via_copy_region_vgpu10()
The function was always returning false because of this typo. Retested with piglit. There's some sRGB-related blit failures, but that seems unrelated. Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
parent
55417140cd
commit
18e6e0796a
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ can_blit_via_copy_region_vgpu10(struct svga_context *svga,
|
|||
return false;
|
||||
|
||||
stex = svga_texture(blit_info->src.resource);
|
||||
dtex = svga_texture(blit_info->src.resource);
|
||||
dtex = svga_texture(blit_info->dst.resource);
|
||||
|
||||
// can't copy within one resource
|
||||
if (stex->handle == dtex->handle)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue