Merge pull request #9032 from cocoscodeide/v3

runtime demo is ugly when screen orientation is portrait
This commit is contained in:
minggo 2014-11-06 11:59:53 +08:00
commit 4911ae448d
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ local function main()
--set FPS. the default value is 1.0/60 if you don't call this
director:setAnimationInterval(1.0 / 60)
cc.Director:getInstance():getOpenGLView():setDesignResolutionSize(480, 320, 0)
cc.Director:getInstance():getOpenGLView():setDesignResolutionSize(480, 320, 1)
--create scene
local scene = require("GameScene")