mirror of
https://github.com/microsoft/DirectXTex
synced 2024-12-26 19:31:02 +00: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_NOLOGO,
|
||||
OPT_SEPALPHA,
|
||||
OPT_MAX
|
||||
};
|
||||
|
||||
static_assert( OPT_MAX <= 32, "dwOptions is a DWORD bitfield" );
|
||||
|
||||
struct SConversion
|
||||
{
|
||||
WCHAR szSrc [MAX_PATH];
|
||||
|
Loading…
Reference in New Issue
Block a user