fix texture setting filtering based on dimensions
Merge branch 'master' of github.com:greggman/tdl