mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-30 18:14:55 +02:00
dont compare validity on equals
This commit is contained in:
parent
d0956ea179
commit
325ad04c7e
|
|
@ -72,7 +72,7 @@ public final class ALCcontext {
|
|||
*/
|
||||
public boolean equals(Object context) {
|
||||
if(context instanceof ALCcontext) {
|
||||
return ((ALCcontext)context).context == this.context && ((ALCcontext)context).valid == this.valid;
|
||||
return ((ALCcontext)context).context == this.context;
|
||||
}
|
||||
return super.equals(context);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public final class ALCdevice {
|
|||
*/
|
||||
public boolean equals(Object device) {
|
||||
if(device instanceof ALCdevice) {
|
||||
return ((ALCdevice)device).device == this.device && ((ALCdevice)device).valid == this.valid;
|
||||
return ((ALCdevice)device).device == this.device;
|
||||
}
|
||||
return super.equals(device);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue