From 288b59a34821504557a75962606cad0bf254e292 Mon Sep 17 00:00:00 2001 From: Powei Feng Date: Wed, 16 Aug 2023 12:18:15 -0700 Subject: [PATCH] Fix missing createFence (#7076) Continuing from #7072 --- filament/src/details/Engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filament/src/details/Engine.cpp b/filament/src/details/Engine.cpp index 59b5377b219..3e50fc71352 100644 --- a/filament/src/details/Engine.cpp +++ b/filament/src/details/Engine.cpp @@ -536,7 +536,7 @@ void FEngine::flushAndWait() { // then create a fence that will trigger when we're past the finish() above size_t tryCount = 8; - FFence* fence = FEngine::createFence(FFence::Type::SOFT); + FFence* fence = FEngine::createFence(); UTILS_NOUNROLL do { FenceStatus status = fence->wait(FFence::Mode::FLUSH,250000000u);