Avoid setting texture filter over and over again.