Skip to content

Commit

Permalink
add missing var
Browse files Browse the repository at this point in the history
  • Loading branch information
guycalledfrank committed May 17, 2016
1 parent 4eb9505 commit 4e4b9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/forward-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ pc.extend(pc, function () {
}

function getShadowMapFromCache(device, res, mode) {
shadowBuffer = shadowMapCache[mode][res];
var shadowBuffer = shadowMapCache[mode][res];
if (!shadowBuffer) {
shadowBuffer = createShadowMap(device, res, res, mode? mode : pc.SHADOW_DEPTH);
shadowMapCache[mode][res] = shadowBuffer;
Expand Down

0 comments on commit 4e4b9dd

Please sign in to comment.