mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
init: call al_install_audio before al_init_acodec_addon
This commit is contained in:
parent
e06eca6d70
commit
07d4c22199
1 changed files with 4 additions and 4 deletions
|
@ -96,13 +96,13 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!al_init_acodec_addon()){
|
if(!al_install_audio()){
|
||||||
fprintf(stderr, "failed to initialize audio codecs!\n");
|
fprintf(stderr, "failed to initialize audio!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!al_install_audio()){
|
if(!al_init_acodec_addon()){
|
||||||
fprintf(stderr, "failed to initialize audio!\n");
|
fprintf(stderr, "failed to initialize audio codecs!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue