aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-14 19:44:06 -0700
committerChris Robinson <[email protected]>2023-05-14 19:44:06 -0700
commitb80502e41d4d0fa0978bfa11b73803e5dfa45148 (patch)
tree27910fd4e4d5055f1d183293fb559cdb826e63f9
parent5d89ea32c2bb6d5a137cb345bec616b0d6708789 (diff)
Add extension strings for the in-progress direct API
-rw-r--r--alc/alc.cpp2
-rw-r--r--alc/context.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index bddc3384..8b108b51 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -1169,6 +1169,7 @@ constexpr ALCchar alcNoDeviceExtList[] =
"ALC_ENUMERATE_ALL_EXT "
"ALC_ENUMERATION_EXT "
"ALC_EXT_CAPTURE "
+ "ALC_EXTX_direct_context "
"ALC_EXT_EFX "
"ALC_EXT_thread_local_context "
"ALC_SOFT_loopback "
@@ -1180,6 +1181,7 @@ constexpr ALCchar alcExtensionList[] =
"ALC_EXT_CAPTURE "
"ALC_EXTX_debug "
"ALC_EXT_DEDICATED "
+ "ALC_EXTX_direct_context "
"ALC_EXT_disconnect "
"ALC_EXT_EFX "
"ALC_EXT_thread_local_context "
diff --git a/alc/context.cpp b/alc/context.cpp
index 81529adf..bcd72f92 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -55,6 +55,7 @@ std::vector<std::string_view> getContextExtensions() noexcept
"AL_EXT_ALAW",
"AL_EXT_BFORMAT",
"AL_EXTX_debug",
+ "AL_EXTX_direct_context",
"AL_EXT_DOUBLE",
"AL_EXT_EXPONENT_DISTANCE",
"AL_EXT_FLOAT32",