The ARB_ES2_compatibility extension supports several GLES 2.0 enums and functions on OpenGL 2.0. Seems it exists on nVidia drivers, but not on ATI's. So implement its functionality in case it doesn't exist on the host. Change-Id: Id96f0c8036a7a7d36fca0c85ab5f57bf4b1583aa