Fix unused warnings release (#3677)
* Release build fix for Windows * Release build fix for Android * Release build fix for Windows * Release build fix for Android * Release build fix for Linux * Release build fix for Mac * Release build fix for iOS Signed-off-by: Steve Pham <spham@amazon.com>
This commit is contained in:
@@ -88,7 +88,7 @@ namespace AZ
|
||||
{
|
||||
if (StreamingImage* image = context->TryGetImage())
|
||||
{
|
||||
const RHI::ResultCode resultCode = image->ExpandMipChain();
|
||||
[[maybe_unused]] const RHI::ResultCode resultCode = image->ExpandMipChain();
|
||||
AZ_Warning("StreamingImageController", resultCode == RHI::ResultCode::Success, "Failed to expand mip chain for streaming image.");
|
||||
}
|
||||
context->m_queuedForMipExpand = false;
|
||||
|
||||
Reference in New Issue
Block a user