diff options
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLProfile.java')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLProfile.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java index 102a97a33..853d3e888 100644 --- a/src/jogl/classes/javax/media/opengl/GLProfile.java +++ b/src/jogl/classes/javax/media/opengl/GLProfile.java @@ -510,6 +510,7 @@ public class GLProfile { * if both, profile and profileImpl is equal with this. */ public final boolean equals(Object o) { + if(this==o) { return true; } if(o instanceof GLProfile) { GLProfile glp = (GLProfile)o; return profile.equals(glp.getName()) && profileImpl.equals(glp.getImplName()) ; |