16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 17:59:18 +02:00

Fixes OpenAL crash and adds extra OpenAL error logging.

This commit is contained in:
xwizard
2022-07-15 15:50:12 +02:00
parent 1860e46d4b
commit 38e89ee5a5
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ openal_buffer::openal_buffer( std::string const &Filename ) :
}
else {
id = null_resource;
ErrorLog("sound: failed to create AL buffer");
ErrorLog("sound: failed to create AL buffer: " + std::string(alGetString(alGetError())));
}
delete[] buf;