Let CCDirector set all GL state

This commit is contained in:
folecr 2013-08-19 15:57:25 -07:00
parent 175316f2c6
commit 9d8e2d991b
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->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.h = h;