This commit is contained in:
MihailRis
2024-02-27 16:23:16 +03:00
parent 97539aa9f4
commit 58661a94a6
7 changed files with 349 additions and 138 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ std::int32_t convert_to_int(char* buffer, std::size_t len){
return a;
}
bool check_al_errors(const std::string& filename, const std::uint_fast32_t line){
bool AL::check_errors(const std::string& filename, const std::uint_fast32_t line){
ALenum error = alGetError();
if(error != AL_NO_ERROR){
std::cerr << "OpenAL ERROR (" << filename << ": " << line << ")\n" ;