diff --git a/cocos/ui/UIEditBox/Mac/CCUIEditBoxMac.mm b/cocos/ui/UIEditBox/Mac/CCUIEditBoxMac.mm index 8811a75675..414650837e 100644 --- a/cocos/ui/UIEditBox/Mac/CCUIEditBoxMac.mm +++ b/cocos/ui/UIEditBox/Mac/CCUIEditBoxMac.mm @@ -135,6 +135,8 @@ - (void)openKeyboard { [self.window.contentView addSubview:self.textInput]; + //FIXME: it will cause a few OpenGL error once, should be fix when glfw version upgraded. + self.window.contentView.wantsLayer = YES; if (![self.textInput isKindOfClass:[NSTextView class]]) { [self.textInput becomeFirstResponder]; }else { diff --git a/external/config.json b/external/config.json index d3b37e22c9..4ae31f64f9 100644 --- a/external/config.json +++ b/external/config.json @@ -1,5 +1,5 @@ { - "version":"v3-deps-113", + "version":"v3-deps-114", "zip_file_size":"135533806", "repo_name":"cocos2d-x-3rd-party-libs-bin", "repo_parent":"https://github.com/cocos2d/",