Skip to content

Commit

Permalink
fixed log2 redefinition for ms
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Feb 3, 2025
1 parent 7965ac3 commit 848f7a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ for more details.

#ifdef WIN32
//microsoft compiler does not provide it.
double log2( double n )
/*double log2( double n )
{
// log(n)/log(2) is log2.
return log( n )* 3.32192809;
}
}*/jurplel/install-qt-action@v3
#endif

extern int current_texture;
Expand Down

0 comments on commit 848f7a6

Please sign in to comment.