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.
2 parents b221a79 + eaa5199 commit 263352aCopy full SHA for 263352a
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