I found the EditBox text cannot show text when typing:
Before typing, it is normal:
when click the EditBox and type, the text in EditBox will disappear:
and when edit finished, the text shows again:
and I try to add
[(NSView*)[(NSWindow*) glview->getCocoaWindow() contentView] setWantsLayer:YES];
in CCApplication-mac.mm, I found the text EditBox will show during but it will cause other objects (e.g.:sprites) unable to show, and generate some errors:
OpenGL error 0x0506 in xxxxxx......
Note:this error occurs suddenly after I reinstall the Mac, anyone knows what is the problem?