aboutsummaryrefslogtreecommitdiffstats
path: root/router
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-07-07 18:35:56 -0700
committerChris Robinson <[email protected]>2017-07-07 18:41:03 -0700
commite4e240fa9bcd85a9f5033f559ba15ca2d763de4c (patch)
treef09223cad7e99d163328b60ebb81a2b92834663d /router
parent6be752a9b1a38379b8631c5dcb6c47e099af4f02 (diff)
Support ALC_EXT_thread_local_context in the router
Note that a given context's device must also support the extension to work. The router's support simply lets a driver's capabilities through.
Diffstat (limited to 'router')
-rw-r--r--router/alc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/router/alc.c b/router/alc.c
index 7737d97b..ff2cc97c 100644
--- a/router/alc.c
+++ b/router/alc.c
@@ -39,6 +39,9 @@ static const struct {
DECL(alcCaptureStop),
DECL(alcCaptureSamples),
+ DECL(alcSetThreadContext),
+ DECL(alcGetThreadContext),
+
DECL(alEnable),
DECL(alDisable),
DECL(alIsEnabled),
@@ -235,7 +238,8 @@ static const ALCchar alcErrInvalidEnum[] = "Invalid Enum";
static const ALCchar alcErrInvalidValue[] = "Invalid Value";
static const ALCchar alcErrOutOfMemory[] = "Out of Memory";
static const ALCchar alcExtensionList[] =
- "ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE";
+ "ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE "
+ "ALC_EXT_thread_local_context";
static const ALCint alcMajorVersion = 1;
static const ALCint alcMinorVersion = 1;