updateTexture call bug fix
Merge pull request #1137 from edankwan/dev_update_texture_fix

updateTexture call bug fix