mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 20:57:47 +02:00
misc: chore: Use collection expressions in OpenGL project
This commit is contained in:
@@ -67,13 +67,13 @@ namespace Ryujinx.Graphics.OpenGL.Image
|
||||
|
||||
GL.BindTexture(target, Handle);
|
||||
|
||||
int[] swizzleRgba = new int[]
|
||||
{
|
||||
int[] swizzleRgba =
|
||||
[
|
||||
(int)Info.SwizzleR.Convert(),
|
||||
(int)Info.SwizzleG.Convert(),
|
||||
(int)Info.SwizzleB.Convert(),
|
||||
(int)Info.SwizzleA.Convert(),
|
||||
};
|
||||
(int)Info.SwizzleA.Convert()
|
||||
];
|
||||
|
||||
if (Info.Format == Format.A1B5G5R5Unorm)
|
||||
{
|
||||
|
Reference in New Issue
Block a user