|
@@ -175,6 +175,9 @@ public class TextureArray extends Texture {
|
|
|
|
|
|
@Override
|
|
|
public boolean equals(Object other) {
|
|
|
+ if (this == obj) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
if (!(other instanceof TextureArray)) {
|
|
|
return false;
|
|
|
}
|
|
@@ -193,4 +196,4 @@ public class TextureArray extends Texture {
|
|
|
hash = 79 * hash + (this.wrapT != null ? this.wrapT.hashCode() : 0);
|
|
|
return hash;
|
|
|
}
|
|
|
-}
|
|
|
+}
|