engine/EngineVideoTextureManager.c
/*	Compares each bit in "flags" to the one in glt->flags only if that bit is active in "mask"
*/
Compares each bit in "flags" to the one in glt->flags only if that bit is active in "mask"
Compares each bit in " flags " to the one in glt - > flags only if that bit is active in " mask "
void TextureManager_FreeTextures(unsigned int flags,unsigned int mask)
{
	gltexture_t *glt, *next;
	for (glt = active_gltextures; glt; glt = next)
	{
		next = glt->next;
		if ((glt->flags & mask) == (flags & mask))
			TexMgr_FreeTexture (glt);
	}
}
void TextureManager_FreeTextures ( unsigned int flags , unsigned int mask ) { gltexture_t * glt , * next ; for ( glt = active_gltextures ; glt ; glt = next ) { next = glt -> next ; if ( ( glt -> flags & mask ) == ( flags & mask ) ) TexMgr_FreeTexture ( glt ) ; } }
Compares each bit in "flags" to the one in glt->flags only if that bit is active in "mask"
Compares each bit in " flags " to the one in glt - > flags only if that bit is active in " mask "