remove the comment of enableRetina for mac (#20249)

This commit is contained in:
coulsonwang 2019-10-25 15:39:59 +08:00 committed by minggo
parent b849fce842
commit 6dbbb4cc0a
1 changed files with 10 additions and 13 deletions

View File

@ -446,19 +446,16 @@ void GLViewImpl::pollEvents()
void GLViewImpl::enableRetina(bool enabled) void GLViewImpl::enableRetina(bool enabled)
{ {
//TODO coulsonwang _isRetinaEnabled = enabled;
//#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) if (_isRetinaEnabled)
// _isRetinaEnabled = enabled; {
// if (_isRetinaEnabled) _retinaFactor = 1;
// { }
// _retinaFactor = 1; else
// } {
// else _retinaFactor = 2;
// { }
// _retinaFactor = 2; updateFrameSize();
// }
// updateFrameSize();
//#endif
} }