mirror of https://github.com/AxioDL/boo.git
Cocoa callback check
This commit is contained in:
parent
c34b93f00f
commit
cd4df5cb27
|
@ -882,7 +882,8 @@ static boo::ESpecialKey translateKeycode(short code)
|
|||
{
|
||||
boo::SWindowRect rect = {{int(self.frame.origin.x), int(self.frame.origin.y)},
|
||||
{int(self.frame.size.width), int(self.frame.size.height)}};
|
||||
resp->booContext->m_callback->resized(rect);
|
||||
if (resp->booContext->m_callback)
|
||||
resp->booContext->m_callback->resized(rect);
|
||||
[super reshape];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue