A bug in the ATI OpenGL driver causes glGet(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) to return 32, although the driver supports only 16. The minimum required by the spec is 2, so limit the number to 16. Change-Id: Ife99dc5544f80ad872362414e9a5d9d2722d8a42