From 1177b0d5457146dcbee5ab4be32766f93e482422 Mon Sep 17 00:00:00 2001 From: huangshiwu Date: Mon, 11 Aug 2014 16:15:02 +0800 Subject: [PATCH] CCGLView modefy --- cocos/platform/CCGLView.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cocos/platform/CCGLView.h b/cocos/platform/CCGLView.h index 8f08b438d4..6850d6bab9 100644 --- a/cocos/platform/CCGLView.h +++ b/cocos/platform/CCGLView.h @@ -117,11 +117,13 @@ public: */ virtual void setFrameSize(float width, float height); + virtual void setFrameZoomFactor(float zoomFactor) {} virtual float getFrameZoomFactor() const { return 1.0; } /** Get retina factor */ virtual int getRetinaFactor() const { return 1; } - + + virtual bool setContentScaleFactor(float scaleFactor) { return false; } virtual float getContentScaleFactor() const { return 1.0; } /** returns whether or not the view is in Retina Display mode */