Merge pull request #48 from xiongzubiao/master

fixed bug in texture fetching