Use 16bit depth in GraphicsMode.Default
16bits appear to be better supported than 24bits on virtual machines.
This commit is contained in:
parent
3c6682e080
commit
f4360beb74
1 changed files with 2 additions and 3 deletions
|
@ -304,9 +304,8 @@ namespace OpenTK.Graphics
|
|||
{
|
||||
if (defaultMode == null)
|
||||
{
|
||||
Debug.Print("Creating default GraphicsMode ({0}, {1}, {2}).",
|
||||
32, 24, 8);
|
||||
defaultMode = new GraphicsMode(null, 32, 24, 8, 0, 0, 2, false);
|
||||
defaultMode = new GraphicsMode(null, 32, 16, 0, 0, 0, 2, false);
|
||||
Debug.Print("GraphicsMode.Default = {0}", defaultMode.ToString());
|
||||
}
|
||||
return defaultMode;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue