mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Minor code fix
This commit is contained in:
@@ -44,7 +44,7 @@ struct WICTranslate
|
||||
bool srgb;
|
||||
};
|
||||
|
||||
static WICTranslate g_WICFormats[] =
|
||||
static const WICTranslate g_WICFormats[] =
|
||||
{
|
||||
{ GUID_WICPixelFormat128bppRGBAFloat, DXGI_FORMAT_R32G32B32A32_FLOAT, false },
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ struct WICConvert
|
||||
GUID target;
|
||||
};
|
||||
|
||||
static WICConvert g_WICConvert[] =
|
||||
static const WICConvert g_WICConvert[] =
|
||||
{
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user