MacOS: Fix crash in CheckEnterLeaveEvents if using WinForms too.
This commit is contained in:
parent
69c05cdb20
commit
1bc11bb807
1 changed files with 3 additions and 0 deletions
|
@ -563,6 +563,9 @@ namespace OpenTK.Platform.MacOS
|
|||
|
||||
private void CheckEnterLeaveEvents(IntPtr eventWindowRef, Point pt)
|
||||
{
|
||||
if (window == null)
|
||||
return;
|
||||
|
||||
bool thisIn = eventWindowRef == window.WindowRef;
|
||||
|
||||
if (pt.Y < 0)
|
||||
|
|
Loading…
Reference in a new issue