Skip to content

Commit 8091551

Browse files
author
Travis Gesslein
committed
fixed bug that would lead to projection matrices not getting sent to shaders after closure compilation
1 parent 4e23bd4 commit 8091551

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d/shaders/CCShaderCache.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ cc.shaderCache = /** @lends cc.shaderCache# */{
253253
var program = programs[keys[i]];
254254
if(program)
255255
{
256+
program.use();
256257
program._updateProjectionUniform();
257258
}
258259
}

0 commit comments

Comments
 (0)