Gems/Atom
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -87,7 +87,7 @@ namespace ImageProcessingAtom
|
||||
if (dxgiFormat != DXGI_FORMAT_UNKNOWN)
|
||||
{
|
||||
int i = 0;
|
||||
for (i; i < ePixelFormat_Count; i++)
|
||||
for (; i < ePixelFormat_Count; i++)
|
||||
{
|
||||
const PixelFormatInfo* info = CPixelFormats::GetInstance().GetPixelFormatInfo((EPixelFormat)i);
|
||||
if (static_cast<AZ::u32>(info->d3d10Format) == dxgiFormat)
|
||||
@@ -506,7 +506,7 @@ namespace ImageProcessingAtom
|
||||
if (dxgiFormat != DXGI_FORMAT_UNKNOWN)
|
||||
{
|
||||
uint32_t i = 0;
|
||||
for (i; i < ePixelFormat_Count; i++)
|
||||
for (; i < ePixelFormat_Count; i++)
|
||||
{
|
||||
const PixelFormatInfo* info = CPixelFormats::GetInstance().GetPixelFormatInfo((EPixelFormat)i);
|
||||
if (static_cast<uint32_t>(info->d3d10Format) == dxgiFormat)
|
||||
|
||||
Reference in New Issue
Block a user