From 5ca63466aa292a2af8a03b627858b44528c29a54 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 18 Jul 2009 08:44:31 +0000 Subject: [PATCH] Ported updates from 0.9.8. --- Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs b/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs index 7567e539..4c857ebd 100644 --- a/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs +++ b/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs @@ -28,6 +28,9 @@ namespace Examples.WinForms InitializeComponent(); ResizeRedraw = true; + glControl1.Width = ClientSize.Width; + glControl1.Height = ClientSize.Height; + UpdateFontList(fontDialog.Font); glControl1_Resize(this, EventArgs.Empty); }