This commit is contained in:
LaiJF
2022-06-07 03:07:13 +08:00
committed by GitHub
parent 49674c39e8
commit 4e260ba3dc

View File

@@ -102,7 +102,7 @@ private:
// These two fields store a callback and user data to notify the client that a frame is ready
// for presentation.
// If frameScheduledCallback is nullptr, then the Metal backend automatically calls
// presentDrawable when the frame is commited.
// presentDrawable when the frame is committed.
// Otherwise, the Metal backend will not automatically present the frame. Instead, clients bear
// the responsibility of presenting the frame by calling the PresentCallable object.
FrameScheduledCallback frameScheduledCallback = nullptr;