I don't think the texture is guaranteed to be on GL_TEXTURE0 - if it is, make a note about that assumption.