diff --git a/mediapipe/gpu/gl_context.h b/mediapipe/gpu/gl_context.h index bb3e6a597..51faffa0c 100644 --- a/mediapipe/gpu/gl_context.h +++ b/mediapipe/gpu/gl_context.h @@ -190,8 +190,7 @@ class GlContext : public std::enable_shared_from_this { // Like Run, but does not wait. void RunWithoutWaiting(GlVoidFunction gl_func); - // Returns a synchronization token. - // This should not be called outside of the GlContext thread. + // Returns a synchronization token for this GlContext. std::shared_ptr CreateSyncToken(); // If another part of the framework calls glFinish, it should call this