mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:15:31 +00:00
Set default class cursor to avoid invalid cursors when entering the window.
This commit is contained in:
parent
f1fc4b5b4e
commit
a7ccef9ae8
|
@ -546,6 +546,7 @@ namespace OpenTK.Platform.Windows
|
|||
wc.WndProc = WindowProcedureDelegate;
|
||||
wc.ClassName = ClassName;
|
||||
wc.Icon = Icon != null ? Icon.Handle : IntPtr.Zero;
|
||||
wc.Cursor = Functions.LoadCursor(CursorName.Arrow);
|
||||
//wc.Background = Functions.GetStockObject(5);
|
||||
ushort atom = Functions.RegisterClassEx(ref wc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue