summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/graphics/SurfaceTexture.java
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/java/android/graphics/SurfaceTexture.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 59f06dd..b919ba4 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -197,7 +197,7 @@ public class SurfaceTexture {
public void attachToGLContext(int texName) {
int err = nativeAttachToGLContext(texName);
if (err != 0) {
- throw new RuntimeException("Error during detachFromGLContext (see logcat for details)");
+ throw new RuntimeException("Error during attachToGLContext (see logcat for details)");
}
}