mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Latte: Fix regression in dd7cb74
This commit is contained in:
parent
224866c3d2
commit
6fa77feba3
2 changed files with 6 additions and 2 deletions
|
@ -618,7 +618,7 @@ bool LatteMRT::UpdateCurrentFBO()
|
|||
}
|
||||
// set effective size
|
||||
sint32 effectiveWidth, effectiveHeight;
|
||||
depthBufferView->baseTexture->GetEffectiveSize(effectiveWidth, effectiveHeight, depthBufferViewFirstSlice);
|
||||
depthBufferView->baseTexture->GetEffectiveSize(effectiveWidth, effectiveHeight, 0);
|
||||
if (rtEffectiveSize->width == 0 && rtEffectiveSize->height == 0)
|
||||
{
|
||||
rtEffectiveSize->width = effectiveWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue