Fix release build error.

Atom's DebugCamera SetOrthographic was only using a parameter during an assert, leading to a release compile error, this fixes that

Signed-off-by: nvsickle <nvsickle@amazon.com>
This commit is contained in:
nvsickle
2021-08-02 14:25:53 -07:00
parent e22820e08b
commit c3103a3fe7
@@ -235,7 +235,7 @@ namespace AZ
UpdateViewToClipMatrix();
}
void CameraComponent::SetOrthographic(bool orthographic)
void CameraComponent::SetOrthographic([[maybe_unused]] bool orthographic)
{
AZ_Assert(!orthographic, "DebugCamera does not support orthographic projection");
}