Check if the texture is valid