glDisable is generating an error after I hit the 5th texture stage. (The card supports 8).
Everything works though… just that this error is annoying. Driver bug?
Under the fixed function pipeline, only 4 texture units are available (query GL_MAX_TEXTURE_UNITS).
With fragment programs you have 16 image units (GL_MAX_TEXTURE_IMAGE_UNITS_ARB) and 8 texture coordinates (GL_MAX_TEXTURE_COORDS_ARB). Calling glEnable(texture_type) or glDisable(texture_type) has no effect when using fragment programs so don’t bother doing it.