Fix texture blit off-by-one errors (#2335)
This commit is contained in:
parent
534a45d6e8
commit
b84ba43406
2 changed files with 27 additions and 4 deletions
|
@ -9,6 +9,11 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
public uint Packed;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
public bool UnpackOriginCorner()
|
||||
{
|
||||
return (Packed & 1u) != 0;
|
||||
}
|
||||
|
||||
public bool UnpackLinearFilter()
|
||||
{
|
||||
return (Packed & (1u << 4)) != 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue