summaryrefslogtreecommitdiffstats
path: root/Alc/opensl.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/opensl.c
parent14ffb8bd9b148185a42aa691c3c3d0c3a04dbc95 (diff)
Allow the backend init functions to return failure
Diffstat (limited to 'Alc/opensl.c')
-rw-r--r--Alc/opensl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/opensl.c b/Alc/opensl.c
index 40fa998f..744548fb 100644
--- a/Alc/opensl.c
+++ b/Alc/opensl.c
@@ -406,9 +406,10 @@ static const BackendFuncs opensl_funcs = {
};
-void alc_opensl_init(BackendFuncs *func_list)
+ALCboolean alc_opensl_init(BackendFuncs *func_list)
{
*func_list = opensl_funcs;
+ return ALC_TRUE;
}
void alc_opensl_deinit(void)