mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-11 20:50:13 +02:00
Minor code fix
This commit is contained in:
parent
3e493747fc
commit
d3e3a12bba
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user