aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-23 19:49:31 -0700
committerChris Robinson <[email protected]>2010-03-23 19:49:31 -0700
commit661059bf0f6fb03eed305207d935cb5bcbdfab27 (patch)
tree495399d7363823744a6a1651075c8c3c30c36b6d
parent7fb4c4ce4fca4c7849f911c3a8dc7643167a1c7d (diff)
Rename alcMakeCurrent to alcSetThreadContext
-rw-r--r--Alc/ALc.c6
-rw-r--r--include/AL/alext.h4
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