material: fix sort id unit test failure

experimental^2^2
Kirill Vainer 9 years ago
parent 59614e177c
commit 5be03af564
  1. 8
      jme3-core/src/main/java/com/jme3/material/Technique.java

@ -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;
} }
} }

Loading…
Cancel
Save