delete some unused codes.

This commit is contained in:
yangws 2011-06-28 14:37:06 +08:00
parent 0dec97a303
commit 9d4c4b5cb6
1 changed files with 2 additions and 4 deletions

View File

@ -213,7 +213,6 @@ namespace cocos2d
// set view port for user FBO, fixed bug #543 #544
glViewport((GLsizei)0, (GLsizei)0, (GLsizei)winSize.width, (GLsizei)winSize.height);
// CCDirector::sharedDirector()->getOpenGLView()->setViewPortInPoints(0, 0, winSize.width, winSize.height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
ccglOrtho(0, winSize.width, 0, winSize.height, -1024, 1024);
@ -227,7 +226,6 @@ namespace cocos2d
// set view port for user FBO, fixed bug #543 #544
glViewport(0, 0, (GLsizei)winSize.width, (GLsizei)winSize.height);
// CCDirector::sharedDirector()->getOpenGLView()->setViewPortInPoints(0, 0, winSize.width, winSize.height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(60, (GLfloat)winSize.width/winSize.height, 0.5f, 1500.0f);