No need for named variable.
This commit is contained in:
parent
2bb0f945f9
commit
251a6e813e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue