Rename alcMakeCurrent to alcSetThreadContext
This commit is contained in:
parent
7fb4c4ce4f
commit
661059bf0f
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user