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