Added: case for static version of the driver
This commit is contained in:
parent
32b1d7aeb7
commit
42515f458e
1 changed files with 5 additions and 2 deletions
|
@ -65,7 +65,8 @@ void alExtInitDevice(ALCdevice *device)
|
|||
AlExtXRam = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifndef NL_STATIC
|
||||
// EFX
|
||||
if ((AlExtEfx = (alcIsExtensionPresent(device, "ALC_EXT_EFX") == ALC_TRUE)) == true)
|
||||
{
|
||||
|
@ -111,6 +112,7 @@ void alExtInitDevice(ALCdevice *device)
|
|||
AlExtEfx = false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if EAX_AVAILABLE
|
||||
|
@ -134,6 +136,7 @@ EAXGetBufferMode eaxGetBufferMode = NULL;
|
|||
// ALC_EXT_EFX
|
||||
bool AlExtEfx = false;
|
||||
// effect objects
|
||||
#ifndef NL_STATIC
|
||||
LPALGENEFXOBJECTS alGenEffects = NULL;
|
||||
LPALDELETEEFXOBJECTS alDeleteEffects = NULL;
|
||||
LPALISEFXOBJECT alIsEffect = NULL;
|
||||
|
@ -169,7 +172,7 @@ LPALGETEFXOBJECTI alGetAuxiliaryEffectSloti = NULL;
|
|||
LPALGETEFXOBJECTIV alGetAuxiliaryEffectSlotiv = NULL;
|
||||
LPALGETEFXOBJECTF alGetAuxiliaryEffectSlotf = NULL;
|
||||
LPALGETEFXOBJECTFV alGetAuxiliaryEffectSlotfv = NULL;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
/* end of file */
|
||||
|
|
Loading…
Reference in a new issue