Merge pull request #7617 from Bindless-Chicken/fix-assert-resource

Fix missing format parameter in RHI::Resource
development
Chris Galvan 4 years ago committed by GitHub
commit 445385e146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save