more define check

This commit is contained in:
vision 2014-05-26 17:00:31 +08:00
parent 20bae53f4a
commit f40f0e0bb9
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ void Director::captureScreen(const std::function<void(bool, const std::string&)>
void Director::onCaptureScreen(const std::function<void(bool, const std::string&)>& afterCaptured, const std::string& filename)
{
Size frameSize = _openGLView->getFrameSize();
#if CC_TARGET_PLATFORM == CC_PLATFORM_MAC
#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
frameSize = frameSize * _openGLView->getFrameZoomFactor() * _openGLView->getRetinaFactor();
#endif