mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-21 16:43:35 +00:00
Fix BGRA on OpenGL backend
This commit is contained in:
parent
5fbfa9a9bd
commit
ae783c5b5e
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,8 @@ namespace Ryujinx.Graphics.Shader.Translation
|
|||
}
|
||||
else if (Config.Stage == ShaderStage.Fragment)
|
||||
{
|
||||
bool supportsBgra = Config.Options.TargetApi == TargetApi.Vulkan;
|
||||
|
||||
if (Config.OmapDepth)
|
||||
{
|
||||
Operand dest = Attribute(AttributeConsts.FragmentOutputDepth);
|
||||
|
|
Loading…
Reference in a new issue