Skip to content

Commit 5be03af

Browse files
committed
material: fix sort id unit test failure
1 parent 59614e1 commit 5be03af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jme3-core/src/main/java/com/jme3/material/Technique.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ public DefineList getAllDefines() {
184184
* @return the sort ID for this technique instance.
185185
*/
186186
public int getSortId() {
187-
int hash = 17;
188-
hash = hash * 23 + def.getSortId();
189-
hash = hash * 23 + dynamicDefines.hashCode();
190-
return hash;
187+
int hash = 17;
188+
hash = hash * 23 + def.getSortId();
189+
hash = hash * 23 + paramDefines.hashCode();
190+
return hash;
191191
}
192192
}

0 commit comments

Comments
 (0)