From 03512805c8ff7de03516502431b7abd04402ba23 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 4 Nov 2009 20:48:35 +0000 Subject: [PATCH] Removed unused code. --- Source/OpenTK/Platform/X11/Functions.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/OpenTK/Platform/X11/Functions.cs b/Source/OpenTK/Platform/X11/Functions.cs index 6083b371..f24224ab 100644 --- a/Source/OpenTK/Platform/X11/Functions.cs +++ b/Source/OpenTK/Platform/X11/Functions.cs @@ -543,16 +543,6 @@ namespace OpenTK.Platform.X11 int width = image.Width; int height = image.Height; int size = width * height; - //Pixel[] data = new byte[size * 4]; - int index = 0; - -// for (int y = 0; y < height; ++y) -// { -// for (int x = 0; x < width; ++x) -// { -// data[index++] = image.GetPixel(x, y).ToArgb(); -// } -// } System.Drawing.Imaging.BitmapData data = image.LockBits(new System.Drawing.Rectangle(0, 0, width, height), System.Drawing.Imaging.ImageLockMode.ReadOnly,