mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
Update CMake to work with Intel compilers (#451)
This commit is contained in:
@@ -84,6 +84,10 @@ namespace
|
||||
{
|
||||
const GUID& wic;
|
||||
DXGI_FORMAT format;
|
||||
|
||||
constexpr WICTranslate(const GUID& wg, DXGI_FORMAT fmt) noexcept :
|
||||
wic(wg),
|
||||
format(fmt) {}
|
||||
};
|
||||
|
||||
constexpr WICTranslate g_WICFormats[] =
|
||||
@@ -118,6 +122,10 @@ namespace
|
||||
{
|
||||
const GUID& source;
|
||||
const GUID& target;
|
||||
|
||||
constexpr WICConvert(const GUID& src, const GUID& tgt) noexcept :
|
||||
source(src),
|
||||
target(tgt) {}
|
||||
};
|
||||
|
||||
constexpr WICConvert g_WICConvert[] =
|
||||
|
||||
@@ -75,6 +75,10 @@ namespace
|
||||
{
|
||||
const GUID& wic;
|
||||
DXGI_FORMAT format;
|
||||
|
||||
constexpr WICTranslate(const GUID& wg, DXGI_FORMAT fmt) noexcept :
|
||||
wic(wg),
|
||||
format(fmt) {}
|
||||
};
|
||||
|
||||
constexpr WICTranslate g_WICFormats[] =
|
||||
@@ -111,6 +115,10 @@ namespace
|
||||
{
|
||||
const GUID& source;
|
||||
const GUID& target;
|
||||
|
||||
constexpr WICConvert(const GUID& src, const GUID& tgt) noexcept :
|
||||
source(src),
|
||||
target(tgt) {}
|
||||
};
|
||||
|
||||
constexpr WICConvert g_WICConvert[] =
|
||||
|
||||
@@ -63,6 +63,10 @@ namespace
|
||||
{
|
||||
const GUID& wic;
|
||||
D3DFORMAT format;
|
||||
|
||||
constexpr WICTranslate(const GUID& wg, D3DFORMAT fmt) noexcept :
|
||||
wic(wg),
|
||||
format(fmt) {}
|
||||
};
|
||||
|
||||
constexpr WICTranslate g_WICFormats[] =
|
||||
@@ -95,6 +99,10 @@ namespace
|
||||
{
|
||||
const GUID& source;
|
||||
const GUID& target;
|
||||
|
||||
constexpr WICConvert(const GUID& src, const GUID& tgt) noexcept :
|
||||
source(src),
|
||||
target(tgt) {}
|
||||
};
|
||||
|
||||
constexpr WICConvert g_WICConvert[] =
|
||||
|
||||
Reference in New Issue
Block a user