projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6682e
)
Use 16bit depth in GraphicsMode.Default
author
Stefanos A.
<stapostol@gmail.com>
Mon, 16 Dec 2013 09:44:37 +0000
(10:44 +0100)
committer
Stefanos A.
<stapostol@gmail.com>
Mon, 16 Dec 2013 09:44:37 +0000
(10:44 +0100)
16bits appear to be better supported than 24bits on virtual machines.
Source/OpenTK/Graphics/GraphicsMode.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Graphics/GraphicsMode.cs
b/Source/OpenTK/Graphics/GraphicsMode.cs
index
1ef4bd0
..
01262ad
100644
(file)
--- a/
Source/OpenTK/Graphics/GraphicsMode.cs
+++ b/
Source/OpenTK/Graphics/GraphicsMode.cs
@@
-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;
}