Swap BGR components for 16-bit BGR texture formats (#2567)
This commit is contained in:
parent
6c76bc3bc0
commit
c702943af3
6 changed files with 15 additions and 12 deletions
|
@ -879,7 +879,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
|
||||
_framebuffer.AttachColor(index, color);
|
||||
|
||||
int isBgra = color != null && color.Format.IsBgra8() ? 1 : 0;
|
||||
int isBgra = color != null && color.Format.IsBgr() ? 1 : 0;
|
||||
|
||||
if (_fpIsBgra[index].X != isBgra)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue