mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-06 16:59:56 +01:00
OpenAL: Made alcGetCurrentContext static in org_lwjgl_openal_ALC.c
This commit is contained in:
parent
314d353aea
commit
1d52341e60
|
|
@ -165,9 +165,6 @@ void DeInitializeOpenAL();
|
|||
|
||||
//extern alGetProcAddressPROC alGetProcAddress;
|
||||
|
||||
typedef ALCcontext* (ALCAPIENTRY *alcGetCurrentContextPROC)(ALCvoid);
|
||||
extern alcGetCurrentContextPROC alcGetCurrentContext;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -57,8 +57,9 @@ typedef ALCenum (ALCAPIENTRY *alcGetErrorPROC)(ALCdevice *device);
|
|||
typedef ALCboolean (ALCAPIENTRY *alcIsExtensionPresentPROC)(ALCdevice *device,ALCubyte *extName);
|
||||
//typedef ALCvoid* (ALCAPIENTRY *alcGetProcAddressPROC)(ALCdevice *device,ALCubyte *funcName);
|
||||
typedef ALCenum (ALCAPIENTRY *alcGetEnumValuePROC)(ALCdevice *device,ALCubyte *enumName);
|
||||
typedef ALCcontext* (ALCAPIENTRY *alcGetCurrentContextPROC)(ALCvoid);
|
||||
|
||||
alcGetCurrentContextPROC alcGetCurrentContext = NULL;
|
||||
static alcGetCurrentContextPROC alcGetCurrentContext = NULL;
|
||||
static alcGetStringPROC alcGetString;
|
||||
static alcGetIntegervPROC alcGetIntegerv;
|
||||
static alcOpenDevicePROC alcOpenDevice;
|
||||
|
|
|
|||
Loading…
Reference in a new issue