Minor code cleanup
This commit is contained in:
Родитель
8f5695737c
Коммит
e972a0feea
|
@ -15,6 +15,7 @@
|
||||||
// http://go.microsoft.com/fwlink/?LinkID=324981
|
// http://go.microsoft.com/fwlink/?LinkID=324981
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#define NOMINMAX
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -188,6 +189,7 @@ public:
|
||||||
// Too many indices for 16-bit IB!
|
// Too many indices for 16-bit IB!
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
#pragma warning( suppress : 4127 )
|
||||||
else if ( sizeof(index_t) == 4 && ( index >= 0xFFFFFFFF ) )
|
else if ( sizeof(index_t) == 4 && ( index >= 0xFFFFFFFF ) )
|
||||||
{
|
{
|
||||||
// Too many indices for 32-bit IB!
|
// Too many indices for 32-bit IB!
|
||||||
|
|
Загрузка…
Ссылка в новой задаче