fix a bug of generating texture object
Merge branch 'master' of ssh://marina.sys.wakayama-u.ac.jp/~tokoi/git/ggsample07