summaryrefslogtreecommitdiffstats
path: root/ui/gl/android/surface_texture_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/android/surface_texture_bridge.h')
-rw-r--r--ui/gl/android/surface_texture_bridge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gl/android/surface_texture_bridge.h b/ui/gl/android/surface_texture_bridge.h
index 9363483..f3f3bcf 100644
--- a/ui/gl/android/surface_texture_bridge.h
+++ b/ui/gl/android/surface_texture_bridge.h
@@ -40,9 +40,9 @@ class GL_EXPORT SurfaceTextureBridge
// Set the default size of the image buffers.
void SetDefaultBufferSize(int width, int height);
- // Attach the SurfaceTexture to the given texture in the GL context that is
- // current on the calling thread.
- void AttachToGLContext(int texture_id);
+ // Attach the SurfaceTexture to the texture currently bound to
+ // GL_TEXTURE_EXTERNAL_OES.
+ void AttachToGLContext();
// Detaches the SurfaceTexture from the context that owns its current GL
// texture. Must be called with that context current on the calling thread.