We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b031806 commit 85d0543Copy full SHA for 85d0543
filament/backend/src/vulkan/VulkanDriver.cpp
@@ -1165,6 +1165,10 @@ FenceStatus VulkanDriver::getFenceStatus(Handle<HwFence> const fh) {
1165
}
1166
1167
FenceStatus VulkanDriver::fenceWait(FenceHandle const fh, uint64_t const timeout) {
1168
+ if (!fh) {
1169
+ return FenceStatus::ERROR;
1170
+ }
1171
+
1172
auto fence = resource_ptr<VulkanFence>::cast(&mResourceManager, fh);
1173
1174
// we have to take into account that the STL's wait_for() actually works with
0 commit comments