Skip to content

Commit

Permalink
Fix shader comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Jul 3, 2017
1 parent cb7af37 commit 8b5062d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MergeDuplicateProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function shaderEquals(shaderOne, shaderTwo) {
if (shaderOne.type !== shaderTwo.type) {
return false;
}
return shaderOne.extras._pipeline.source.equals(shaderTwo.extras._pipeline.source);
return shaderOne.extras._pipeline.source === shaderTwo.extras._pipeline.source;
}

/**
Expand Down

0 comments on commit 8b5062d

Please sign in to comment.