ソースを参照

material: fix sort id unit test failure

Kirill Vainer 9 年 前
コミット
5be03af564
1 ファイル変更4 行追加4 行削除
  1. 4 4
      jme3-core/src/main/java/com/jme3/material/Technique.java

+ 4 - 4
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;
     }
 }