-
H. Verbeet authored
GL_LIMITS(textures) is currently used for both the number of texture stages and the maximum number of simultaneous textures. In the current code that's the same, but in a later patch that will be separated, since a texture stage doesn't have to reference an actual texture. Also, shaders can access a larger number of samplers than the number of texture units the fixed function pipeline can access.
a54e36ad