From b3ce99a08651d23ee8c9a49aa72af86e2b1c7543 Mon Sep 17 00:00:00 2001 From: "Stefanos A." Date: Fri, 27 Sep 2013 22:59:56 +0200 Subject: [PATCH] Increased the text surface size This is necessary for high-dpi monitors which render text at double resolution. --- Source/Examples/OpenTK/Test/GameWindowStates.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Examples/OpenTK/Test/GameWindowStates.cs b/Source/Examples/OpenTK/Test/GameWindowStates.cs index cb2a92fb..1bc5b599 100644 --- a/Source/Examples/OpenTK/Test/GameWindowStates.cs +++ b/Source/Examples/OpenTK/Test/GameWindowStates.cs @@ -19,7 +19,7 @@ namespace Examples.Tests public class GameWindowStates : GameWindow { static readonly Font TextFont = new Font(FontFamily.GenericSansSerif, 11); - Bitmap TextBitmap = new Bitmap(512, 512); + Bitmap TextBitmap = new Bitmap(1024, 1024); int texture; bool mouse_in_window = false; bool viewport_changed = true;