diff options
author | Chris Robinson <[email protected]> | 2010-03-23 19:49:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-23 19:49:31 -0700 |
commit | 661059bf0f6fb03eed305207d935cb5bcbdfab27 (patch) | |
tree | 495399d7363823744a6a1651075c8c3c30c36b6d | |
parent | 7fb4c4ce4fca4c7849f911c3a8dc7643167a1c7d (diff) |
Rename alcMakeCurrent to alcSetThreadContext
-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 |