Skip to content

Commit c10fb83

Browse files
committed
Fixed Tilemap Layer Light2D batch
1 parent 35146e7 commit c10fb83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/renderer/webgl/pipelines/LightPipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ var LightPipeline = new Class({
277277

278278
var normalTexture = this.getNormalMap(gameObject);
279279

280-
if (renderer.isNewNormalMap())
280+
if (renderer.isNewNormalMap(texture, normalTexture))
281281
{
282282
this.flush();
283283

0 commit comments

Comments
 (0)