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)
|
if (defaultMode == null)
|
||||||
{
|
{
|
||||||
Debug.Print("Creating default GraphicsMode ({0}, {1}, {2}).",
|
defaultMode = new GraphicsMode(null, 32, 16, 0, 0, 0, 2, false);
|
||||||
32, 24, 8);
|
Debug.Print("GraphicsMode.Default = {0}", defaultMode.ToString());
|
||||||
defaultMode = new GraphicsMode(null, 32, 24, 8, 0, 0, 2, false);
|
|
||||||
}
|
}
|
||||||
return defaultMode;
|
return defaultMode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue