From f40f0e0bb9878bb4368055042552976d50bef335 Mon Sep 17 00:00:00 2001 From: vision Date: Mon, 26 May 2014 17:00:31 +0800 Subject: [PATCH] more define check --- cocos/base/CCDirector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/base/CCDirector.cpp b/cocos/base/CCDirector.cpp index 906e8e495b..c35d362c76 100644 --- a/cocos/base/CCDirector.cpp +++ b/cocos/base/CCDirector.cpp @@ -1226,7 +1226,7 @@ void Director::captureScreen(const std::function void Director::onCaptureScreen(const std::function& 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