aboutsummaryrefslogtreecommitdiffstats
path: root/al/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/error.cpp')
-rw-r--r--al/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/error.cpp b/al/error.cpp
index 8cabf8c3..90671011 100644
--- a/al/error.cpp
+++ b/al/error.cpp
@@ -87,7 +87,7 @@ START_API_FUNC
ContextRef context{GetContextRef()};
if(unlikely(!context))
{
- constexpr ALenum deferror{AL_INVALID_OPERATION};
+ static constexpr ALenum deferror{AL_INVALID_OPERATION};
WARN("Querying error state on null context (implicitly 0x%04x)\n", deferror);
if(TrapALError)
{