From 6790a9b44fd79f430b683cbd7761d174c530b82e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 29 Jun 2019 11:22:29 -0700 Subject: Use a bool for the TrapALError flag --- OpenAL32/Include/alError.h | 2 +- OpenAL32/alError.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32') 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, ...) { -- cgit v1.2.3