From 4242b51224992bed8ee1a4f4815465d930d71943 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Sun, 8 Mar 2020 01:27:14 +0000 Subject: [PATCH] Use 24 bit surface on unix, 32 bit on windows. --- Ryujinx/Ui/GLRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx/Ui/GLRenderer.cs b/Ryujinx/Ui/GLRenderer.cs index 416429bf73..b78f6300b1 100644 --- a/Ryujinx/Ui/GLRenderer.cs +++ b/Ryujinx/Ui/GLRenderer.cs @@ -51,7 +51,7 @@ namespace Ryujinx.Ui private Input.NpadController _primaryController; public GLRenderer(Switch device) - : base (new GraphicsMode(new ColorFormat()), + : base (new GraphicsMode(Environment.OSVersion.Platform == PlatformID.Unix ? new ColorFormat(24) : new ColorFormat()), 3, 3, GraphicsContextFlags.ForwardCompatible) {