Fix stb compilation on Windows for TextureTool
This commit is contained in:
2
Source/ThirdParty/stb/stb_dxt.h
vendored
2
Source/ThirdParty/stb/stb_dxt.h
vendored
@@ -317,7 +317,7 @@ static unsigned int stb__MatchColorsBlock(unsigned char *block, unsigned char *c
|
||||
static void stb__OptimizeColorsBlock(unsigned char *block, unsigned short *pmax16, unsigned short *pmin16)
|
||||
{
|
||||
int mind = 0x7fffffff,maxd = -0x7fffffff;
|
||||
unsigned char *minp, *maxp;
|
||||
unsigned char *minp = nullptr, *maxp = nullptr;
|
||||
double magn;
|
||||
int v_r,v_g,v_b;
|
||||
static const int nIterPower = 4;
|
||||
|
||||
Reference in New Issue
Block a user