From 0e3f1dfef3e767a4fbf7c78da0ea8c64d46d52ab Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 4 Jul 2020 00:39:40 -0500 Subject: [PATCH] Main state changed to reflect font rendering capability. --- src/SlatedGameToolkit.Tools/Utilities/Playground/MainState.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SlatedGameToolkit.Tools/Utilities/Playground/MainState.cs b/src/SlatedGameToolkit.Tools/Utilities/Playground/MainState.cs index 516f3f2..3cd00f0 100644 --- a/src/SlatedGameToolkit.Tools/Utilities/Playground/MainState.cs +++ b/src/SlatedGameToolkit.Tools/Utilities/Playground/MainState.cs @@ -88,8 +88,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground renderer.Draw(logo); renderer.Draw(textureTester); renderer.Draw(untextured); - font.Draw(renderer, 0.25f, -0.35f, "Hello World.", Color.White); - renderer.Draw(new RectangleMesh(new RectangleF(-1, -1, 0.5f, 0.5f), new RectangleF(0, 1, 1, -1), font.GetTextureBacking(0), Color.White)); + font.Draw(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", Color.White); renderer.End(); }