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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user