mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
Perhaps this will avoid the ambiguity in Windows.
This commit is contained in:
parent
9ec2a5aec1
commit
37382304f7
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ Bitstream& Bitstream::operator<(const TypeStreamer* streamer) {
|
|||
}
|
||||
|
||||
static int getBitsForHighestValue(int highestValue) {
|
||||
return (highestValue == 0) ? 0 : 1 + (int)(glm::log(highestValue) / glm::log(2.0));
|
||||
return (highestValue == 0) ? 0 : 1 + (int)(log((double)highestValue) / log(2.0));
|
||||
}
|
||||
|
||||
Bitstream& Bitstream::operator>(TypeReader& reader) {
|
||||
|
|
Loading…
Reference in a new issue