mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
update
This commit is contained in:
parent
97539aa9f4
commit
58661a94a6
7 changed files with 349 additions and 138 deletions
|
|
@ -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" ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue