mirror of
https://github.com/SFML/SFML.git
synced 2025-01-31 21:55:13 +08:00
Fixed Listener::GetGlobalVolume returning wrong values
This commit is contained in:
parent
ecaafa9a18
commit
dad362bf69
@ -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…
Reference in New Issue
Block a user