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

@ -36,10 +36,8 @@ namespace Examples.Tutorial
System.Runtime.InteropServices.Marshal.Copy( System.Runtime.InteropServices.Marshal.Copy(
offset, rgba, y * stride, stride); offset, rgba, y * stride, stride);
} }
var cursor = new OpenTK.MouseCursor(rgba, bitmap.Width, bitmap.Height, 0, 0); this.Cursor = new OpenTK.MouseCursor(rgba, bitmap.Width, bitmap.Height, 0, 0);
this.Cursor = cursor;
} }
#region Keyboard_KeyDown #region Keyboard_KeyDown