Fixed some code-style issues.

This commit is contained in:
the_fiddler 2008-06-21 20:46:31 +00:00
parent 66503d34ff
commit da15592dd4

View file

@ -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,