Skip to content

Commit

Permalink
Fix missing createFence (#7076)
Browse files Browse the repository at this point in the history
Continuing from #7072
  • Loading branch information
poweifeng authored Aug 16, 2023
1 parent 1c7293d commit 288b59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/src/details/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 288b59a

Please sign in to comment.