Added support for OpenGL ES 1.0.