summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Darwin Huang <huangdarwin@google.com> 2022-01-28 19:12:04 +0000
committer Darwin Huang <huangdarwin@google.com> 2022-01-28 19:12:08 +0000
commit7bd04e97a202dd5e84fe422f7d0926e12fb54800 (patch)
treeb6b9f37bf60ec11924c68c57a42588a1c33f6ddc /graphics/java
parent4d6002c2043e7778605bea5e50b0a5411eebd29a (diff)
Fix misspelling in SurfaceTexture#attachToGLContext javadoc
I assume "unusued" was supposed to be "unused"... Change-Id: Id44a21cca0aadb054e395450ab57b200b5f65a9d
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/SurfaceTexture.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java
index 9b2effcde1d3..0fadae23556d 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -288,7 +288,7 @@ public class SurfaceTexture {
* context at a time.
*
* @param texName The name of the OpenGL ES texture that will be created. This texture name
- * must be unusued in the OpenGL ES context that is current on the calling thread.
+ * must be unused in the OpenGL ES context that is current on the calling thread.
*/
public void attachToGLContext(int texName) {
int err = nativeAttachToGLContext(texName);