fixed CHECK_GL_ERROR_DEBUG macro