diff --git a/filament/backend/src/vulkan/VulkanDriver.cpp b/filament/backend/src/vulkan/VulkanDriver.cpp index 8a985676e2..3fc374c67c 100644 --- a/filament/backend/src/vulkan/VulkanDriver.cpp +++ b/filament/backend/src/vulkan/VulkanDriver.cpp @@ -685,10 +685,10 @@ void VulkanDriver::createRenderTargetR(Handle rth, assert_invariant(tmin == tmax); assert_invariant(tmin.x >= width && tmin.y >= height); - auto renderTarget = mResourceAllocator.construct(rth, mPlatform->getDevice(), - - mPlatform->getPhysicalDevice(), mContext, mAllocator, &mCommands, width, height, - samples, colorTargets, depthStencil, mStagePool, layerCount); + auto renderTarget = mResourceAllocator.construct(rth, + mPlatform->getDevice(), mPlatform->getPhysicalDevice(), mContext, mAllocator, + &mCommands, &mResourceAllocator, width, height, samples, colorTargets, depthStencil, + mStagePool, layerCount); mResourceManager.acquire(renderTarget); }