Minor code fix

This commit is contained in:
Chuck Walbourn 2016-07-10 01:59:06 -07:00
parent 3e493747fc
commit d3e3a12bba
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ struct WICTranslate
bool srgb; bool srgb;
}; };
static WICTranslate g_WICFormats[] = static const WICTranslate g_WICFormats[] =
{ {
{ GUID_WICPixelFormat128bppRGBAFloat, DXGI_FORMAT_R32G32B32A32_FLOAT, false }, { GUID_WICPixelFormat128bppRGBAFloat, DXGI_FORMAT_R32G32B32A32_FLOAT, false },

View File

@ -77,7 +77,7 @@ struct WICConvert
GUID target; GUID target;
}; };
static WICConvert g_WICConvert[] = static const WICConvert g_WICConvert[] =
{ {
// Directly support the formats listed in XnaTexUtil::g_WICFormats, so no conversion required // Directly support the formats listed in XnaTexUtil::g_WICFormats, so no conversion required
// Note target GUID in this conversion table must be one of those directly supported formats. // Note target GUID in this conversion table must be one of those directly supported formats.