mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 19:50:13 +02:00
DirectXTex: added static_assert to texassemble source
This commit is contained in:
parent
23af1a29a9
commit
c7d32a482a
@ -32,8 +32,11 @@ enum OPTIONS // Note: dwOptions below assumes 32 or less options.
|
|||||||
OPT_USE_DX10,
|
OPT_USE_DX10,
|
||||||
OPT_NOLOGO,
|
OPT_NOLOGO,
|
||||||
OPT_SEPALPHA,
|
OPT_SEPALPHA,
|
||||||
|
OPT_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static_assert( OPT_MAX <= 32, "dwOptions is a DWORD bitfield" );
|
||||||
|
|
||||||
struct SConversion
|
struct SConversion
|
||||||
{
|
{
|
||||||
WCHAR szSrc [MAX_PATH];
|
WCHAR szSrc [MAX_PATH];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user