diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm --- a/src/video/cocoa/wnd_quartz.mm +++ b/src/video/cocoa/wnd_quartz.mm @@ -470,7 +470,7 @@ bool WindowQuartzSubdriver::SetVideoMode /* We already have a window, just change its size */ [ this->window setContentSize:contentRect.size ]; - // Ensure frame height - title bar height >= view height + /* Ensure frame height - title bar height >= view height */ contentRect.size.height = Clamp(height, 0, [ this->window frame ].size.height - 22 /* 22 is the height of title bar of window*/); if (this->qzview != nil) { @@ -593,8 +593,6 @@ void WindowQuartzSubdriver::Draw(bool fo if (force_update) [ this->qzview displayIfNeeded ]; } - //DrawResizeIcon(); - this->num_dirty_rects = 0; }