Enable per-texture scale filtering
merge texture scaling, fixes #201 and #378