check to load texture