From 8027a3f00489cd4a5a6d4c85d1ab943cfef1c9db Mon Sep 17 00:00:00 2001 From: Jari Ronkainen Date: Thu, 23 Jul 2015 19:32:10 +0300 Subject: [PATCH] Fix audio driver setup if the first driver fails. --- platform/x11/os_x11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index f8c570a5c04..2f35cebee8b 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;iset_singleton(); if (AudioDriverManagerSW::get_driver(i)->init()==OK) { success=true; print_line("Audio Driver Failed: "+String(AudioDriverManagerSW::get_driver(p_audio_driver)->get_name()));