1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-23 06:16:26 -05:00

Swap BGR components for 16-bit BGR texture formats (#2567)

This commit is contained in:
gdkchan
2021-08-20 18:26:25 -03:00
committed by GitHub
parent 6c76bc3bc0
commit c702943af3
6 changed files with 15 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ namespace Ryujinx.Graphics.OpenGL.Image
(int)Info.SwizzleA.Convert()
};
if (Info.Format.IsBgra8())
if (Info.Format.IsBgr())
{
// Swap B <-> R for BGRA formats, as OpenGL has no support for them
// and we need to manually swap the components on read/write on the GPU.