Supress msvc warning.

Replace tabs with spaces.
This commit is contained in:
castano 2011-02-25 09:51:09 +00:00
parent 85b07f6043
commit c4d314a1cf
3 changed files with 206 additions and 204 deletions

View File

@ -174,6 +174,8 @@ namespace
return i - skip;
}
#pragma warning(push)
#pragma warning(disable:4748)
static NV_NOINLINE int backtrace(void * trace[], int maxcount) {
CONTEXT ctx = { 0 };
#if NV_CPU_X86 && !NV_CPU_X86_64
@ -191,7 +193,7 @@ namespace
return backtraceWithSymbols(&ctx, trace, maxcount, 1);
}
#pragma warning(pop)
static NV_NOINLINE void printStackTrace(void * trace[], int size, int start=0)
{

View File

@ -32,7 +32,7 @@ using namespace nv;
/*----------------------------------------------------------------------------
BlockDXT1
BlockDXT1
----------------------------------------------------------------------------*/
uint BlockDXT1::evaluatePalette(Color32 color_array[4], bool d3d9/*= false*/) const
@ -255,7 +255,7 @@ inline void BlockDXT1::flip2()
/*----------------------------------------------------------------------------
BlockDXT3
BlockDXT3
----------------------------------------------------------------------------*/
void BlockDXT3::decodeBlock(ColorBlock * block, bool d3d9/*= false*/) const
@ -328,7 +328,7 @@ void BlockDXT3::flip2()
/*----------------------------------------------------------------------------
BlockDXT5
BlockDXT5
----------------------------------------------------------------------------*/
void AlphaBlockDXT5::evaluatePalette(uint8 alpha[8], bool d3d9) const