No need for named variable.

This commit is contained in:
Fraser 2014-02-21 19:44:51 +00:00 committed by thefiddler
parent 2bb0f945f9
commit 251a6e813e

View file

@ -37,9 +37,7 @@ namespace Examples.Tutorial
offset, rgba, y * stride, stride);
}
var cursor = new OpenTK.MouseCursor(rgba, bitmap.Width, bitmap.Height, 0, 0);
this.Cursor = cursor;
this.Cursor = new OpenTK.MouseCursor(rgba, bitmap.Width, bitmap.Height, 0, 0);
}
#region Keyboard_KeyDown