Skip to content

Commit 6aa129b

Browse files
author
minggo
committed
Merge pull request cocos2d#385 from flyingpacer/master
fixed cocos2d#602 and update lua support
2 parents d948aee + 76f6f38 commit 6aa129b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

cocos2dx/CCDirector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void CCDirector::setProjection(ccDirectorProjection kProjection)
328328
}
329329
glMatrixMode(GL_PROJECTION);
330330
glLoadIdentity();
331-
gluPerspective(60, (GLfloat)size.width/size.height, zeye - size.height / 2, zeye + size.height / 2);
331+
gluPerspective(60, (GLfloat)size.width/size.height, 0.5f, 1500.0f);
332332

333333
glMatrixMode(GL_MODELVIEW);
334334
glLoadIdentity();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8fff23baca30b951a8b0de639e0b811e6a19db76
1+
75d73beef78b7e5bc9914fbb67ad560fec73d6a4

tools/tolua++/ccConfig.pkg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@
6464

6565
#define CC_ENABLE_PROFILERS 0
6666

67-
68-
#define CC_COMPATIBILITY_WITH_0_8 0
69-
7067
#if CC_RETINA_DISPLAY_SUPPORT
7168
#define CC_IS_RETINA_DISPLAY_SUPPORTED 1
7269
#else

0 commit comments

Comments
 (0)