OpenAL: Made alcGetCurrentContext static in org_lwjgl_openal_ALC.c

This commit is contained in:
Elias Naur 2005-11-20 13:47:45 +00:00
parent 314d353aea
commit 1d52341e60
2 changed files with 2 additions and 4 deletions

View file

@ -165,9 +165,6 @@ void DeInitializeOpenAL();
//extern alGetProcAddressPROC alGetProcAddress;
typedef ALCcontext* (ALCAPIENTRY *alcGetCurrentContextPROC)(ALCvoid);
extern alcGetCurrentContextPROC alcGetCurrentContext;
#ifdef __cplusplus
}
#endif

View file

@ -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;