From bf8a555bc9c9aef1e2a42772635fc04dbb1fd442 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 21 Jun 2008 20:46:31 +0000 Subject: [PATCH] Fixed some code-style issues. --- Source/Utilities/Fonts/TextureFont.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Utilities/Fonts/TextureFont.cs b/Source/Utilities/Fonts/TextureFont.cs index a6939b85..9adf2376 100644 --- a/Source/Utilities/Fonts/TextureFont.cs +++ b/Source/Utilities/Fonts/TextureFont.cs @@ -181,12 +181,8 @@ namespace OpenTK.Graphics { int* bitmap_data_ptr = (int*)bitmap_data.Scan0; for (int y = 0; y < rect.Height; y++) - { for (int x = 0; x < rect.Width; x++) - { data[y * rect.Width + x] = *(bitmap_data_ptr + y * bmp.Width + x); - } - } fixed (int* data_ptr = data) GL.TexSubImage2D(TextureTarget.Texture2D, 0, rect.Left, rect.Top, rect.Width, rect.Height,