mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-20 20:02:53 +00:00
@@ -104,8 +104,8 @@ 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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user