aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c2
-rw-r--r--OpenAL32/Include/alMain.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index c8060f49..8f15b155 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -447,7 +447,6 @@ ALCAPI ALCdevice* ALCAPIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, AL
memset(pDevice, 0, sizeof(ALCdevice));
//Validate device
- pDevice->InUse = AL_TRUE;
pDevice->IsCaptureDevice = AL_TRUE;
pDevice->Frequency = frequency;
@@ -1150,7 +1149,6 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName)
memset(device, 0, sizeof(ALCdevice));
//Validate device
- device->InUse = AL_TRUE;
device->IsCaptureDevice = AL_FALSE;
//Set output format
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index a5a4aee6..fd37e93d 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -159,7 +159,6 @@ void alc_wave_init(BackendFuncs *func_list);
struct ALCdevice_struct
{
- ALboolean InUse;
ALboolean IsCaptureDevice;
ALuint Frequency;