summaryrefslogtreecommitdiffstats
path: root/opengl/tools/glgen/static/egl/EGLConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/tools/glgen/static/egl/EGLConfig.java')
-rw-r--r--opengl/tools/glgen/static/egl/EGLConfig.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/opengl/tools/glgen/static/egl/EGLConfig.java b/opengl/tools/glgen/static/egl/EGLConfig.java
index d9aebfc..d457c9f 100644
--- a/opengl/tools/glgen/static/egl/EGLConfig.java
+++ b/opengl/tools/glgen/static/egl/EGLConfig.java
@@ -18,10 +18,11 @@
package android.opengl;
/**
- * @hide
+ * Wrapper class for native EGLConfig objects.
+ *
*/
public class EGLConfig extends EGLObjectHandle {
- public EGLConfig(int handle) {
+ private EGLConfig(int handle) {
super(handle);
}
@@ -33,9 +34,4 @@ public class EGLConfig extends EGLObjectHandle {
EGLConfig that = (EGLConfig) o;
return getHandle() == that.getHandle();
}
-
- @Override
- public int hashCode() {
- return getHandle();
- }
}