diff options
author | Chris Robinson <[email protected]> | 2018-11-18 08:01:50 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 08:01:50 -0800 |
commit | 8b8f01e25d31e7874acb5af7e0c3c7c801497410 (patch) | |
tree | 87656be5fa086259978724dbdda186439a93fc63 /Alc/backends/sdl2.cpp | |
parent | 336b7b77999fec857093c82c050c96b8ead3cb97 (diff) |
Avoid more cases of an enum variable and type name clash
Diffstat (limited to 'Alc/backends/sdl2.cpp')
-rw-r--r-- | Alc/backends/sdl2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/sdl2.cpp b/Alc/backends/sdl2.cpp index e1234c1b..2ef7d852 100644 --- a/Alc/backends/sdl2.cpp +++ b/Alc/backends/sdl2.cpp @@ -73,7 +73,7 @@ static void ALCsdl2Backend_Construct(ALCsdl2Backend *self, ALCdevice *device) SET_VTABLE2(ALCsdl2Backend, ALCbackend, self); self->deviceID = 0; - self->frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder); + self->frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->mAmbiOrder); self->Frequency = device->Frequency; self->FmtChans = device->FmtChans; self->FmtType = device->FmtType; @@ -168,7 +168,7 @@ static ALCenum ALCsdl2Backend_open(ALCsdl2Backend *self, const ALCchar *name) device->UpdateSize = have.samples; device->NumUpdates = 2; /* SDL always (tries to) use two periods. */ - self->frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder); + self->frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->mAmbiOrder); self->Frequency = device->Frequency; self->FmtChans = device->FmtChans; self->FmtType = device->FmtType; |