bugfix: iOS/OpenglES don't support GL_BGRA
bugfix: bind must after link