aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
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
parent12911cc533a94c6aa99c0db57394b75d3fcb3f67 (diff)
Use a bool for the TrapALError flag
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alError.h2
-rw-r--r--OpenAL32/alError.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alError.h b/OpenAL32/Include/alError.h
index 3e4f2373..7b64b302 100644
--- a/OpenAL32/Include/alError.h
+++ b/OpenAL32/Include/alError.h
@@ -5,7 +5,7 @@
#include "logging.h"
-extern ALboolean TrapALError;
+extern bool TrapALError;
void alSetError(ALCcontext *context, ALenum errorCode, const char *msg, ...) DECL_FORMAT(printf, 3, 4);
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, ...)
{