diff options
author | Chris Robinson <[email protected]> | 2009-12-28 23:19:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-28 23:19:13 -0800 |
commit | 7ee81eac0fd1ecd719c906cfc8fc9a81fcf0ffbe (patch) | |
tree | a3b955467e7d67e7369d6f38b23910cffdbac367 /Alc/dsound.c | |
parent | c9a08fc7b235425058d3e28ddc46ae56dc726d7d (diff) |
Store ALC errors with the device when possible
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index ac54b487..43935def 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -233,7 +233,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam pData = calloc(1, sizeof(DSoundData)); if(!pData) { - alcSetError(ALC_OUT_OF_MEMORY); + alcSetError(device, ALC_OUT_OF_MEMORY); DSoundUnload(); return ALC_FALSE; } |