STORM-2081 - Guard against null gWindowImplementation when fullscreen (crashes OS X Yosemite)
parent
6252c81775
commit
3c3d74e487
|
|
@ -238,7 +238,10 @@ void callFocus()
|
|||
|
||||
void callFocusLost()
|
||||
{
|
||||
gWindowImplementation->getCallbacks()->handleFocusLost(gWindowImplementation);
|
||||
if (gWindowImplementation)
|
||||
{
|
||||
gWindowImplementation->getCallbacks()->handleFocusLost(gWindowImplementation);
|
||||
}
|
||||
}
|
||||
|
||||
void callRightMouseDown(float *pos, MASK mask)
|
||||
|
|
|
|||
Loading…
Reference in New Issue