Fixed Listener::GetGlobalVolume returning wrong values
This commit is contained in:
parent
ecaafa9a18
commit
dad362bf69
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ float Listener::GetGlobalVolume()
|
||||||
float volume = 0.f;
|
float volume = 0.f;
|
||||||
ALCheck(alGetListenerf(AL_GAIN, &volume));
|
ALCheck(alGetListenerf(AL_GAIN, &volume));
|
||||||
|
|
||||||
return volume;
|
return volume * 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue