diff options
-rw-r--r-- | Alc/ALc.c | 6 | ||||
-rw-r--r-- | include/AL/alext.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -113,7 +113,7 @@ static ALCfunction alcFunctions[] = { { "alcCaptureStop", (ALvoid *) alcCaptureStop }, { "alcCaptureSamples", (ALvoid *) alcCaptureSamples }, - { "alcMakeCurrent", (ALvoid *) alcMakeCurrent }, + { "alcSetThreadContext", (ALvoid *) alcSetThreadContext }, { "alcGetThreadContext", (ALvoid *) alcGetThreadContext }, { NULL, (ALvoid *) NULL } @@ -1552,11 +1552,11 @@ ALC_API ALCboolean ALC_APIENTRY alcMakeContextCurrent(ALCcontext *context) } /* - alcMakeCurrent + alcSetThreadContext Makes the given Context the active Context for the current thread */ -ALC_API ALCboolean ALC_APIENTRY alcMakeCurrent(ALCcontext *context) +ALC_API ALCboolean ALC_APIENTRY alcSetThreadContext(ALCcontext *context) { ALboolean bReturn = AL_TRUE; diff --git a/include/AL/alext.h b/include/AL/alext.h index d30e87a0..1ce1fb6a 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -196,10 +196,10 @@ AL_API ALvoid AL_APIENTRY alUnmapDatabufferEXT(ALuint uiBuffer); #ifndef ALC_EXT_thread_local_context #define ALC_EXT_thread_local_context 1 -typedef ALCboolean (ALC_APIENTRY*PFNALCMAKECURRENTPROC)(ALCcontext *context); +typedef ALCboolean (ALC_APIENTRY*PFNALCSETTHREADCONTEXTPROC)(ALCcontext *context); typedef ALCcontext* (ALC_APIENTRY*PFNALCGETTHREADCONTEXTPROC)(void); #ifdef AL_ALEXT_PROTOTYPES -ALC_API ALCboolean ALC_APIENTRY alcMakeCurrent(ALCcontext *context); +ALC_API ALCboolean ALC_APIENTRY alcSetThreadContext(ALCcontext *context); ALC_API ALCcontext* ALC_APIENTRY alcGetThreadContext(void); #endif #endif |