Check dst for Texture3D rather than src.
This commit is contained in:
parent
d52e470c08
commit
b604e045c6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
dstWidth = Math.Max(1, dstWidth >> dstLevel);
|
||||
dstHeight = Math.Max(1, dstHeight >> dstLevel);
|
||||
|
||||
if (src.Target == Target.Texture3D)
|
||||
if (dst.Target == Target.Texture3D)
|
||||
{
|
||||
dstDepth = Math.Max(1, dstDepth >> dstLevel);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue