mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 03:45:31 +00:00
GraphicsMode.Default used to be set to (DisplayDevice.Default.BitsPerPixel, 16, 0, 0, 0, 2, false) for improved compatibility with older systems. However, this appears to be causing issues with specific modern GPUs. Switch the default mode to (32, 24, 8) until a more proper solution can be found.
This commit is contained in:
parent
29d8fc603b
commit
03c04fd308
|
@ -322,8 +322,8 @@ namespace OpenTK.Graphics
|
||||||
if (defaultMode == null)
|
if (defaultMode == null)
|
||||||
{
|
{
|
||||||
Debug.Print("Creating default GraphicsMode ({0}, {1}, {2}, {3}, {4}, {5}, {6}).",
|
Debug.Print("Creating default GraphicsMode ({0}, {1}, {2}, {3}, {4}, {5}, {6}).",
|
||||||
DisplayDevice.Default.BitsPerPixel, 16, 0, 0, 0, 2, false);
|
32, 24, 8, 0, 0, 2, false);
|
||||||
defaultMode = new GraphicsMode(DisplayDevice.Default.BitsPerPixel, 16, 0, 0, 0, 2, false);
|
defaultMode = new GraphicsMode(32, 24, 8, 0, 0, 2, false);
|
||||||
}
|
}
|
||||||
return defaultMode;
|
return defaultMode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue