Resolve bug for cc.CHECK_GL_ERROR_DEBUG function in canvas mode
Merge pull request #1381 from pandamicro/develop

Resolve bug for cc.CHECK_GL_ERROR_DEBUG function in canvas mode