diff --git a/src/platform/android/GPUDrawable.cpp b/src/platform/android/GPUDrawable.cpp index a39bd40a22..dafbcb57bf 100644 --- a/src/platform/android/GPUDrawable.cpp +++ b/src/platform/android/GPUDrawable.cpp @@ -71,6 +71,7 @@ void GPUDrawable::present(tgfx::Context* context) { if (window == nullptr) { return; } + window->setPresentationTime(currentTimeStamp); window->present(context); } diff --git a/src/platform/ohos/GPUDrawable.cpp b/src/platform/ohos/GPUDrawable.cpp index 801f606fb9..f0a4d23557 100644 --- a/src/platform/ohos/GPUDrawable.cpp +++ b/src/platform/ohos/GPUDrawable.cpp @@ -72,6 +72,7 @@ void GPUDrawable::present(tgfx::Context* context) { if (window == nullptr) { return; } + window->setPresentationTime(currentTimeStamp); window->present(context); }