Remove breakpoint on OpenAL error

This commit is contained in:
Wojciech Figat
2022-02-01 17:38:55 +01:00
parent 26191935a7
commit 5e9dac49a8

View File

@@ -24,7 +24,14 @@
#if BUILD_RELEASE
#define ALC_CHECK_ERROR(method)
#else
#define ALC_CHECK_ERROR(method) { int alError = alGetError(); if (alError != 0) { LOG(Error, "OpenAL method {0} failed with error 0x{1:X} (at line {2})", TEXT(#method), alError, __LINE__ - 1); PLATFORM_DEBUG_BREAK; } }
#define ALC_CHECK_ERROR(method) \
{ \
int alError = alGetError(); \
if (alError != 0) \
{ \
LOG(Error, "OpenAL method {0} failed with error 0x{1:X} (at line {2})", TEXT(#method), alError, __LINE__ - 1); \
} \
}
#endif
#if ALC_MULTIPLE_LISTENERS