Added gltexture_t->texmasked, use that when setting the rendpoly texture's mask status instead of relying on the global var texmask to be in sync with curtex.
View differences
Added gltexture_t->texmasked, use that when setting the rendpoly texture's mask status instead of relying on the global var texmask to be in sync with curtex.