Fixed #2481 Re-write Canvas Mode of RenderTexture to adapt WebGL interface
Merge pull request #1063 from dingpinglv/Iss2481_RewriteRenderTexture

Fixed #2481 Re-write Canvas Mode of RenderTexture to adapt WebGL interface