1
0
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:
walbourn_cp 2013-11-07 16:26:56 -08:00
parent 23af1a29a9
commit c7d32a482a

View File

@ -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];