- fixed a few of the more obvious logic errors
This commit is contained in:
parent
5532266b14
commit
2bc86b52c8
3 changed files with 3 additions and 2 deletions
|
|
@ -938,7 +938,7 @@ int FGLRenderer::PTM_BestColor (const uint32_t *pal_in, int r, int g, int b, int
|
|||
static bool firstTime = true;
|
||||
static float trackpowtable = 0.;
|
||||
|
||||
double fbestdist, fdist;
|
||||
double fbestdist = (double)(1<<53), fdist;
|
||||
int bestcolor = 0;
|
||||
|
||||
if (firstTime || trackpowtable != gl_paltonemap_powtable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue