* simplify high quality texture scale selection code