Use 24 bit surface on unix, 32 bit on windows.
This commit is contained in:
parent
e2bb5e8091
commit
4242b51224
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ namespace Ryujinx.Ui
|
||||||
private Input.NpadController _primaryController;
|
private Input.NpadController _primaryController;
|
||||||
|
|
||||||
public GLRenderer(Switch device)
|
public GLRenderer(Switch device)
|
||||||
: base (new GraphicsMode(new ColorFormat()),
|
: base (new GraphicsMode(Environment.OSVersion.Platform == PlatformID.Unix ? new ColorFormat(24) : new ColorFormat()),
|
||||||
3, 3,
|
3, 3,
|
||||||
GraphicsContextFlags.ForwardCompatible)
|
GraphicsContextFlags.ForwardCompatible)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue