Merge pull request #22 from chuanweizhang2013/v3luaruntime

fixed portrait
This commit is contained in:
cocoscodeide 2014-05-17 22:47:00 +08:00
commit 73d5f17c77
3 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ void createSimulator(const char* viewName, float width, float height,bool isLand
{ {
float tmpvalue =width; float tmpvalue =width;
width = height; width = height;
height = width; height = tmpvalue;
} }
[g_nsAppDelegate createSimulator:[NSString stringWithUTF8String:viewName] viewWidth:width viewHeight:height factor:frameZoomFactor]; [g_nsAppDelegate createSimulator:[NSString stringWithUTF8String:viewName] viewWidth:width viewHeight:height factor:frameZoomFactor];

View File

@ -312,7 +312,7 @@ void createSimulator(const char* viewName, float width, float height, bool isLan
{ {
float tmpvalue =width; float tmpvalue =width;
width = height; width = height;
height = width; height = tmpvalue;
} }
g_eglView = GLView::createWithRect(viewName,Rect(0,0,width,height),frameZoomFactor); g_eglView = GLView::createWithRect(viewName,Rect(0,0,width,height),frameZoomFactor);

View File

@ -1,6 +1,6 @@
{ {
"version":"v3-lua-runtime-1.1.1", "version":"v3-lua-runtime-1.1.1",
"zip_file_size":"20853321", "zip_file_size":"20854899",
"repo_name":"cocos-runtime-bin", "repo_name":"cocos-runtime-bin",
"repo_parent":"https://github.com/chukong/" "repo_parent":"https://github.com/chukong/"
} }