diff options
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index 424a0eaa..3ccf545a 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -2425,8 +2425,8 @@ static ALvoid InitContext(ALCcontext *Context) Context->ExtensionList = alExtList; - listener.Params.Matrix = aluMatrixf::Identity; - aluVectorSet(&listener.Params.Velocity, 0.0f, 0.0f, 0.0f, 0.0f); + listener.Params.Matrix = alu::Matrix::Identity(); + listener.Params.Velocity = alu::Vector{}; listener.Params.Gain = listener.Gain; listener.Params.MetersPerUnit = Context->MetersPerUnit; listener.Params.DopplerFactor = Context->DopplerFactor; |