summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorOvnuniarchos <pujalte.jorge@gmail.com>2015-07-26 20:16:38 +0200
committerOvnuniarchos <pujalte.jorge@gmail.com>2015-07-26 20:16:38 +0200
commitaf132adf94da56ff231ce6f69f8098666cf7d9b0 (patch)
treed40e6ad16b9907fb9ad134f3189035a9f85113b8 /platform/x11
parentd1a260c9660e98da2f8a0ba4af2dd2cde6aeb311 (diff)
parent07c99e11f5939699fefa10fab0b898ddc9246f85 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/os_x11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index f8c570a5c0..b34d1ba7c8 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -267,6 +267,7 @@ void OS_X11::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi
for(int i=0;i<AudioDriverManagerSW::get_driver_count();i++) {
if (i==p_audio_driver)
continue;
+ AudioDriverManagerSW::get_driver(i)->set_singleton();
if (AudioDriverManagerSW::get_driver(i)->init()==OK) {
success=true;
print_line("Audio Driver Failed: "+String(AudioDriverManagerSW::get_driver(p_audio_driver)->get_name()));