summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-28 23:19:13 -0800
committerChris Robinson <[email protected]>2009-12-28 23:19:13 -0800
commit7ee81eac0fd1ecd719c906cfc8fc9a81fcf0ffbe (patch)
treea3b955467e7d67e7369d6f38b23910cffdbac367 /OpenAL32/Include/alMain.h
parentc9a08fc7b235425058d3e28ddc46ae56dc726d7d (diff)
Store ALC errors with the device when possible
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 87eb2576..c580bf5f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -257,6 +257,8 @@ struct ALCdevice_struct
ALCchar *szDeviceName;
+ ALCenum LastError;
+
// Maximum number of sources that can be created
ALuint MaxNoOfSources;
// Maximum number of slots that can be created
@@ -359,7 +361,7 @@ void AppendDeviceList(const ALCchar *name);
void AppendAllDeviceList(const ALCchar *name);
void AppendCaptureDeviceList(const ALCchar *name);
-ALCvoid alcSetError(ALenum errorCode);
+ALCvoid alcSetError(ALCdevice *device, ALenum errorCode);
ALCvoid SuspendContext(ALCcontext *context);
ALCvoid ProcessContext(ALCcontext *context);