Merge pull request #3439 from folecr/android_rendering_bugfix

Let CCDirector set all GL state in the Android port
This commit is contained in:
minggo 2013-08-19 19:08:47 -07:00
commit 0ec5d6f029
1 changed files with 0 additions and 6 deletions

View File

@ -171,12 +171,6 @@ static cocos_dimensions engine_init_display(struct engine* engine) {
engine->height = h; engine->height = h;
engine->state.angle = 0; engine->state.angle = 0;
// Initialize GL state.
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
glEnable(GL_CULL_FACE);
glShadeModel(GL_SMOOTH);
glDisable(GL_DEPTH_TEST);
r.w = w; r.w = w;
r.h = h; r.h = h;