Skip to content

Commit

Permalink
Custom Tilemap shader fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranick committed Mar 27, 2019
1 parent 266ab62 commit 83a84bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class Context3DTilemap
if (tileData == null) continue;
}

if ((shader != currentShader && currentShader != null)
if ((shader != currentShader)
|| (bitmapData != currentBitmapData && currentBitmapData != null)
|| (currentBlendMode != blendMode))
{
Expand Down

0 comments on commit 83a84bb

Please sign in to comment.