mirror of https://github.com/axmolengine/axmol.git
Merge pull request #9032 from cocoscodeide/v3
runtime demo is ugly when screen orientation is portrait
This commit is contained in:
commit
4911ae448d
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue