remove some opengl api for opengles 2.0