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:
0c99058
)
Display renderer information
author
Stefanos A.
<stapostol@gmail.com>
Sat, 21 Dec 2013 21:41:10 +0000
(22:41 +0100)
committer
Stefanos A.
<stapostol@gmail.com>
Sat, 21 Dec 2013 21:41:10 +0000
(22:41 +0100)
Source/Examples/OpenTK/Test/GameWindowStates.cs
patch
|
blob
|
history
diff --git
a/Source/Examples/OpenTK/Test/GameWindowStates.cs
b/Source/Examples/OpenTK/Test/GameWindowStates.cs
index
73d8100
..
cdb5afa
100644
(file)
--- a/
Source/Examples/OpenTK/Test/GameWindowStates.cs
+++ b/
Source/Examples/OpenTK/Test/GameWindowStates.cs
@@
-218,7
+218,10
@@
namespace Examples.Tests
gfx.Clear(Color.Black);
gfx.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
-
+
+ DrawString(gfx, GL.GetString(StringName.Vendor), line++);
+ DrawString(gfx, GL.GetString(StringName.Version), line++);
+ DrawString(gfx, GL.GetString(StringName.Renderer), line++);
DrawString(gfx, Context.GraphicsMode.ToString(), line++);
DrawString(gfx, String.Format("[1 - 4]: change WindowState (current: {0}).", this.WindowState), line++);