aboutsummaryrefslogtreecommitdiff
path: root/audio/freealut/files/patch-src_alutInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/freealut/files/patch-src_alutInit.c')
-rw-r--r--audio/freealut/files/patch-src_alutInit.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/freealut/files/patch-src_alutInit.c b/audio/freealut/files/patch-src_alutInit.c
new file mode 100644
index 000000000000..f19ac896b7f9
--- /dev/null
+++ b/audio/freealut/files/patch-src_alutInit.c
@@ -0,0 +1,15 @@
+--- src/alutInit.c.orig Wed Mar 8 16:40:26 2006
++++ src/alutInit.c Wed Mar 8 16:41:23 2006
+@@ -147,11 +147,7 @@
+ return AL_FALSE;
+ }
+
+- if (!alcCloseDevice (device))
+- {
+- _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
+- return AL_FALSE;
+- }
++ alcCloseDevice (device);
+
+ initialisationState = Unintialized;
+ return AL_TRUE;