shader 1.9.1执行时报错

Uncaught TypeError: locGL.createProgram is not a function

this.program = new cc.GLProgram();
if (cc.sys.isNative) {
this.program.initWithString(Fluxay.fluxay_vert, this.fragStr);
} else {
this.program.initWithVertexShaderByteArray(Fluxay.fluxay_vert, this.fragStr);
this.program.addAttribute(cc.macro.ATTRIBUTE_NAME_POSITION, cc.macro.VERTEX_ATTRIB_POSITION);
this.program.addAttribute(cc.macro.ATTRIBUTE_NAME_COLOR, cc.macro.VERTEX_ATTRIB_COLOR);
this.program.addAttribute(cc.macro.ATTRIBUTE_NAME_TEX_COORD, cc.macro.VERTEX_ATTRIB_TEX_COORDS);
}
执行 initWithVertexShaderByteArray 时报错

o(╥﹏╥)o

可能浏览器不支持webgl,调试看看locGL里面有什么。