We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd3cb00 commit eaa5199Copy full SHA for eaa5199
cocos2d/core/CCDrawingPrimitivesWebGL.js
@@ -61,6 +61,7 @@ cc.DrawingPrimitiveWebGL = cc.Class.extend(/** @lends cc.DrawingPrimitiveWebGL#
61
_t._shader = cc.shaderCache.programForKey(cc.SHADER_POSITION_UCOLOR);
62
_t._shader._addUniformLocation(this._colorLocation);
63
_t._shader._addUniformLocation(this._pointSizeLocation);
64
+ _t._glProgramState = new cc.GLProgramState(_t._shader);
65
66
_t._initialized = true;
67
}
0 commit comments