From 9da156d0a60337c2d71e184adc89ed05557ae30c Mon Sep 17 00:00:00 2001 From: Bindless-Chicken <1039134+Bindless-Chicken@users.noreply.github.com> Date: Mon, 14 Feb 2022 09:17:53 +0000 Subject: [PATCH] Fix missing format parameter in RHI::Resource Signed-off-by: Bindless-Chicken <1039134+Bindless-Chicken@users.noreply.github.com> --- Gems/Atom/RHI/Code/Source/RHI/Resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/Atom/RHI/Code/Source/RHI/Resource.cpp b/Gems/Atom/RHI/Code/Source/RHI/Resource.cpp index f27ea22d8a..016899b962 100644 --- a/Gems/Atom/RHI/Code/Source/RHI/Resource.cpp +++ b/Gems/Atom/RHI/Code/Source/RHI/Resource.cpp @@ -100,7 +100,7 @@ namespace AZ // The frame attachment has tight control over lifecycle here. [[maybe_unused]] const bool isAttach = (!m_frameAttachment && frameAttachment); [[maybe_unused]] const bool isDetach = (m_frameAttachment && !frameAttachment); - AZ_Assert(isAttach || isDetach, "The frame attachment for resource '%s' was not assigned properly."); + AZ_Assert(isAttach || isDetach, "The frame attachment for resource '%s' was not assigned properly.", GetName().GetCStr()); } m_frameAttachment = frameAttachment;