mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:45:36 +00:00
Changed the fps counter color to SkyBlue.
This commit is contained in:
parent
fa0e5ee0d0
commit
4e521ea72e
|
@ -45,7 +45,7 @@ namespace Examples.Tutorial
|
|||
public override void OnLoad(EventArgs e)
|
||||
{
|
||||
GL.ClearColor(Color.SteelBlue);
|
||||
|
||||
|
||||
current_position = initial_position;
|
||||
scroll_speed = -1.0f;
|
||||
text.Prepare(poem, serif, out poem_handle);
|
||||
|
@ -125,7 +125,7 @@ namespace Examples.Tutorial
|
|||
// used in 2d graphics, and is necessary for achieving pixel-perfect glyph rendering.
|
||||
// TextPrinter.End() restores your previous projection/modelview matrices.
|
||||
text.Begin();
|
||||
GL.Color3(Color.PaleGoldenrod);
|
||||
GL.Color3(Color.LightBlue);
|
||||
text.Draw((1.0 / e.Time).ToString("F2"), sans);
|
||||
GL.Translate(0.0f, current_position, 0.0f);
|
||||
GL.Color3(Color.White);
|
||||
|
|
Loading…
Reference in a new issue