diff --git a/src/RenderDevice/Vulkan/VKDeviceRenderTarget.cpp b/src/RenderDevice/Vulkan/VKDeviceRenderTarget.cpp index 3efb4c70..926365ff 100644 --- a/src/RenderDevice/Vulkan/VKDeviceRenderTarget.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceRenderTarget.cpp @@ -53,7 +53,7 @@ RenderTarget *Device::CreateRenderTarget( const uint w,const uint h, if(cb) { - RenderTarget *rt=new RenderTarget(this,fb,cb,color_texture_list,color_count,depth_texture,fence_count); + RenderTarget *rt=new RenderTarget(this,rp,fb,cb,color_texture_list,color_count,depth_texture,fence_count); color_texture_list.DiscardObject(); return rt;