diff --git a/examples/common/entry/entry_osx.mm b/examples/common/entry/entry_osx.mm index eb938c532..14ddf6041 100644 --- a/examples/common/entry/entry_osx.mm +++ b/examples/common/entry/entry_osx.mm @@ -444,7 +444,7 @@ namespace entry const float centerY = (screenRect.size.height - (float)ENTRY_DEFAULT_HEIGHT)*0.5f; m_windowAlloc.alloc(); - NSRect rect = NSMakeRect(centerX, centerY, 1.0f, 1.0f); + NSRect rect = NSMakeRect(centerX, centerY, ENTRY_DEFAULT_WIDTH, ENTRY_DEFAULT_HEIGHT); NSWindow* window = [[NSWindow alloc] initWithContentRect:rect styleMask:m_style