material: fix sort id unit test failure

This commit is contained in:
Kirill Vainer 2016-03-05 19:30:28 -05:00
parent 59614e177c
commit 5be03af564

View File

@ -184,9 +184,9 @@ public final class Technique {
* @return the sort ID for this technique instance. * @return the sort ID for this technique instance.
*/ */
public int getSortId() { public int getSortId() {
int hash = 17; int hash = 17;
hash = hash * 23 + def.getSortId(); hash = hash * 23 + def.getSortId();
hash = hash * 23 + dynamicDefines.hashCode(); hash = hash * 23 + paramDefines.hashCode();
return hash; return hash;
} }
} }