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