mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-17 07:37:06 +00:00
misc: chore: Merge into pattern
This commit is contained in:
parent
a6f3f0718d
commit
48ba1cc9ed
161 changed files with 470 additions and 550 deletions
|
|
@ -104,8 +104,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
int offset = attrib.Offset;
|
||||
int size = fmtInfo.Components;
|
||||
|
||||
bool isFloat = fmtInfo.PixelType == PixelType.Float ||
|
||||
fmtInfo.PixelType == PixelType.HalfFloat;
|
||||
bool isFloat = fmtInfo.PixelType is PixelType.Float or PixelType.HalfFloat;
|
||||
|
||||
if (isFloat || fmtInfo.Normalized || fmtInfo.Scaled)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue