mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-07 15:39:59 +01:00
video_core: Remove assert in AccelerateTextureCopy (#1092)
This commit is contained in:
parent
cf87efa3c0
commit
ad97506867
@ -244,7 +244,13 @@ bool RasterizerCache<T>::AccelerateTextureCopy(const Pica::DisplayTransferConfig
|
|||||||
return false;
|
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 = {
|
const TextureCopy texture_copy = {
|
||||||
.src_level = src_surface.LevelOf(src_params.addr),
|
.src_level = src_surface.LevelOf(src_params.addr),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user