Fix compressed to non-compressed texture copy size (#1649)
This commit is contained in:
parent
876fa656f6
commit
6222f173f0
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ namespace Ryujinx.Graphics.OpenGL.Image
|
|||
}
|
||||
else if (srcInfo.IsCompressed && !dstInfo.IsCompressed)
|
||||
{
|
||||
dstWidth *= dstInfo.BlockWidth;
|
||||
dstHeight *= dstInfo.BlockHeight;
|
||||
dstWidth *= srcInfo.BlockWidth;
|
||||
dstHeight *= srcInfo.BlockHeight;
|
||||
}
|
||||
|
||||
int width = Math.Min(srcWidth, dstWidth);
|
||||
|
|
Reference in a new issue