diff options
author | Chris Robinson <[email protected]> | 2012-10-12 08:01:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-12 08:01:02 -0700 |
commit | a3d4868ef4aff13da8c2e9fde88e1f6a479ac7d2 (patch) | |
tree | ff6457f2e1faaba8ef8dad5decc2860f3729e192 /Alc | |
parent | 815b03855b40a1ab65b4109bbdbbc16d69287f21 (diff) |
Initialize the listener velocity parameter
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1820,6 +1820,8 @@ static ALvoid InitContext(ALCcontext *Context) for(j = 0;j < 4;j++) Context->Listener->Params.Matrix[i][j] = ((i==j) ? 1.0f : 0.0f); } + for(i = 0;i < 3;i++) + Context->Listener->Params.Velocity[i] = 0.0f; //Validate Context Context->LastError = AL_NO_ERROR; |