diff --git a/filament/backend/src/vulkan/memory/ResourcePointer.h b/filament/backend/src/vulkan/memory/ResourcePointer.h index 9affcdae56a..25b9737bf71 100644 --- a/filament/backend/src/vulkan/memory/ResourcePointer.h +++ b/filament/backend/src/vulkan/memory/ResourcePointer.h @@ -161,7 +161,7 @@ struct resource_ptr { // only be used from VulkanDriver. inline void dec() { assert_invariant(mRef); - assert_invariant(!mRef->isHandleConsiderDestroyed()); + assert_invariant(!mRef->isHandleConsideredDestroyed()); mRef->setHandleConsiderDestroyed(); mRef->dec(); }