support setting texture format
Merge branch 'master' of github.com:yi/lua-gama