mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +00:00
Don't set AL_MAX_GAIN for OpenAL listener
it's only for sources
This commit is contained in:
parent
9359d6d51d
commit
fafc4d385e
1 changed files with 0 additions and 1 deletions
|
@ -607,7 +607,6 @@ AL_Update(void)
|
|||
/* set listener (player) parameters */
|
||||
AL_CopyVector(listener_forward, orientation);
|
||||
AL_CopyVector(listener_up, orientation + 3);
|
||||
qalListenerf(AL_MAX_GAIN, s_openal_maxgain->value);
|
||||
qalDistanceModel(AL_LINEAR_DISTANCE_CLAMPED);
|
||||
qalListener3f(AL_POSITION, AL_UnpackVector(listener_origin));
|
||||
qalListenerfv(AL_ORIENTATION, orientation);
|
||||
|
|
Loading…
Reference in a new issue