cc.renderContextType --> cc.renderType.
cc.CANVAS --> cc.RENDER_TYPE_CANVAS.