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 b8692118..26dc522f 100644
--- a/al/error.cpp
+++ b/al/error.cpp
@@ -108,7 +108,7 @@ AL_API auto AL_APIENTRY alGetError() noexcept -> ALenum
{
auto optstr = al::getenv(envname);
if(!optstr)
- optstr = ConfigValueStr(nullptr, "game_compat", optname);
+ optstr = ConfigValueStr({}, "game_compat", optname);
if(optstr)
{