On 27/11/2007, Stefan Dösinger stefan@codeweavers.com wrote:
textures. In this case we build a texture map to read a texture from a lower texture unit from a higher register combiner. This texture unit always stays below GL_LIMITS(textures) though.
Yes, but you're checking against the sampler, not the texture unit. Shouldn't you be checking against mapped_stage instead?