mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:45:36 +00:00
Display renderer information
This commit is contained in:
parent
8b1566b244
commit
98600b0008
|
@ -219,6 +219,9 @@ 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++);
|
||||
|
|
Loading…
Reference in a new issue