mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
video_core: Remove assert in AccelerateTextureCopy (#1092)
This commit is contained in:
parent
cf87efa3c0
commit
ad97506867
1 changed files with 7 additions and 1 deletions
|
|
@ -244,7 +244,13 @@ bool RasterizerCache<T>::AccelerateTextureCopy(const Pica::DisplayTransferConfig
|
|||
return false;
|
||||
}
|
||||
|
||||
ASSERT(src_rect.GetWidth() == dst_rect.GetWidth());
|
||||
if (src_rect.GetWidth() != dst_rect.GetWidth()) {
|
||||
LOG_ERROR(
|
||||
HW_GPU,
|
||||
"Surface source and destination width mismatch, skipping... src_width={}, dst_width={}",
|
||||
src_rect.GetWidth(), dst_rect.GetHeight());
|
||||
return false;
|
||||
}
|
||||
|
||||
const TextureCopy texture_copy = {
|
||||
.src_level = src_surface.LevelOf(src_params.addr),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue