aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-17 20:44:05 -0700
committerChris Robinson <[email protected]>2011-08-17 20:44:05 -0700
commit45f0886eba19c99a51a62e124d4b741bb0f1c09d (patch)
treee7c0b1a9dc556a1a10b0a589b2346d511bc5c25d
parent057fef88ae75a8024fb8561a13541431f5c2bda5 (diff)
Set the proper union member to 0
-rw-r--r--Alc/winmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 94c9b794..cd4b8912 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -404,7 +404,7 @@ static void WinMMClosePlayback(ALCdevice *device)
pData->hWaveThreadEvent = 0;
waveOutClose(pData->hWaveHandle.Out);
- pData->hWaveHandle.In = 0;
+ pData->hWaveHandle.Out = 0;
free(pData);
device->ExtraData = NULL;