Use 16bit depth in GraphicsMode.Default

16bits appear to be better supported than 24bits on virtual machines.
This commit is contained in:
Stefanos A. 2013-12-16 10:44:37 +01:00
parent 3c6682e080
commit f4360beb74

View file

@ -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;
} }