change drawTexture and drawTextureMask