aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-17 06:05:26 -0700
committerChris Robinson <[email protected]>2011-08-17 06:05:26 -0700
commit8148626ba36456a5aed2b3e75bbe32f9e7ab0249 (patch)
treeb5de5d71473e9b4a52e1200fb05c3c6a79233f39 /Alc/dsound.c
parent14ffb8bd9b148185a42aa691c3c3d0c3a04dbc95 (diff)
Allow the backend init functions to return failure
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index 42139f3c..7f1524eb 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -610,9 +610,10 @@ static const BackendFuncs DSoundFuncs = {
};
-void alcDSoundInit(BackendFuncs *FuncList)
+ALCboolean alcDSoundInit(BackendFuncs *FuncList)
{
*FuncList = DSoundFuncs;
+ return ALC_TRUE;
}
void alcDSoundDeinit(void)