mirror of https://github.com/AxioDL/boo.git
ApplicationCocoa: Set activateIgnoringOtherApps
Fixes issues with window opening in background, unfocused
This commit is contained in:
parent
8c9f44a29f
commit
77d0fce78a
|
@ -109,6 +109,8 @@ public:
|
|||
while (![m_metalCtx.m_dev supportsTextureSampleCount:m_metalCtx.m_sampleCount])
|
||||
m_metalCtx.m_sampleCount = flp2(m_metalCtx.m_sampleCount - 1);
|
||||
Log.report(logvisor::Info, FMT_STRING("using Metal renderer"));
|
||||
|
||||
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
|
||||
}
|
||||
|
||||
EPlatformType getPlatformType() const override {
|
||||
|
|
Loading…
Reference in New Issue