Skip to content

Commit

Permalink
vulkan: fix TSAN in readpixels (#7023)
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng authored Aug 1, 2023
1 parent eb18d75 commit 5d37d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/backend/src/vulkan/VulkanReadPixels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ void TaskHandler::drain() {
{
std::unique_lock<std::mutex> lock(syncPointMutex);
done = true;
syncCondition.notify_one();
}
syncCondition.notify_one();
});

std::unique_lock<std::mutex> lock(syncPointMutex);
Expand Down

0 comments on commit 5d37d08

Please sign in to comment.