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)
{
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;
}