From 661059bf0f6fb03eed305207d935cb5bcbdfab27 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 23 Mar 2010 19:49:31 -0700 Subject: Rename alcMakeCurrent to alcSetThreadContext --- Alc/ALc.c | 6 +++--- include/AL/alext.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index 086b6f29..0dacbd2a 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -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 -- cgit v1.2.3