diff --git a/jme3-core/src/main/java/com/jme3/material/Technique.java b/jme3-core/src/main/java/com/jme3/material/Technique.java index 9dee91241..aecf5ab97 100644 --- a/jme3-core/src/main/java/com/jme3/material/Technique.java +++ b/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. */ public int getSortId() { - int hash = 17; - hash = hash * 23 + def.getSortId(); - hash = hash * 23 + dynamicDefines.hashCode(); - return hash; + int hash = 17; + hash = hash * 23 + def.getSortId(); + hash = hash * 23 + paramDefines.hashCode(); + return hash; } }