summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-04-20 01:39:55 +0200
committerMichael Bien <[email protected]>2011-04-20 01:39:55 +0200
commit6e35af2622d5f4627dfb564058d7cf313afffe0b (patch)
tree42d8cc602b755c18825be46b77195ab595785650 /src
parent59ec9a937001549262c37c543266cc6015e53f9d (diff)
reverted a3654a0b8a4e0c9e246aa04019bf1d5a09e7a28d
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/CLMemory.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLMemory.java b/src/com/jogamp/opencl/CLMemory.java
index 0e4ea1d6..ebeec28e 100644
--- a/src/com/jogamp/opencl/CLMemory.java
+++ b/src/com/jogamp/opencl/CLMemory.java
@@ -257,9 +257,6 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL
if (this.context != other.context && (this.context == null || !this.context.equals(other.context))) {
return false;
}
- if (this.buffer != other.buffer && (this.buffer == null || !this.buffer.equals(other.buffer))) {
- return false;
- }
return true;
}