aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alError.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-06-29 11:22:29 -0700
committerChris Robinson <[email protected]>2019-06-29 11:22:29 -0700
commit6790a9b44fd79f430b683cbd7761d174c530b82e (patch)
treef447c02c6ac94d715266e7b42018f1802c43f8dc /OpenAL32/alError.cpp
parent12911cc533a94c6aa99c0db57394b75d3fcb3f67 (diff)
Use a bool for the TrapALError flag
Diffstat (limited to 'OpenAL32/alError.cpp')
-rw-r--r--OpenAL32/alError.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alError.cpp b/OpenAL32/alError.cpp
index 324f4c1b..a7895fb9 100644
--- a/OpenAL32/alError.cpp
+++ b/OpenAL32/alError.cpp
@@ -34,7 +34,7 @@
#include "alError.h"
#include "alexcpt.h"
-ALboolean TrapALError = AL_FALSE;
+bool TrapALError{false};
void alSetError(ALCcontext *context, ALenum errorCode, const char *msg, ...)
{