Permalink
Browse files

Use 16bit depth in GraphicsMode.Default

16bits appear to be better supported than 24bits on virtual machines.
  • Loading branch information...
1 parent 3c6682e commit f4360beb74191c80143bbf7dc470ddde69a33973 @thefiddler thefiddler committed Dec 16, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 Source/OpenTK/Graphics/GraphicsMode.cs
@@ -304,9 +304,8 @@ public static GraphicsMode Default
{
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;
}

0 comments on commit f4360be

Please sign in to comment.