mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 08:28:44 +00:00
Added: case for static version of the driver
This commit is contained in:
parent
0f4fd77f3b
commit
65a58d76d1
1 changed files with 5 additions and 2 deletions
|
@ -66,6 +66,7 @@ void alExtInitDevice(ALCdevice *device)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NL_STATIC
|
||||||
// EFX
|
// EFX
|
||||||
if ((AlExtEfx = (alcIsExtensionPresent(device, "ALC_EXT_EFX") == ALC_TRUE)) == true)
|
if ((AlExtEfx = (alcIsExtensionPresent(device, "ALC_EXT_EFX") == ALC_TRUE)) == true)
|
||||||
{
|
{
|
||||||
|
@ -111,6 +112,7 @@ void alExtInitDevice(ALCdevice *device)
|
||||||
AlExtEfx = false;
|
AlExtEfx = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EAX_AVAILABLE
|
#if EAX_AVAILABLE
|
||||||
|
@ -134,6 +136,7 @@ EAXGetBufferMode eaxGetBufferMode = NULL;
|
||||||
// ALC_EXT_EFX
|
// ALC_EXT_EFX
|
||||||
bool AlExtEfx = false;
|
bool AlExtEfx = false;
|
||||||
// effect objects
|
// effect objects
|
||||||
|
#ifndef NL_STATIC
|
||||||
LPALGENEFXOBJECTS alGenEffects = NULL;
|
LPALGENEFXOBJECTS alGenEffects = NULL;
|
||||||
LPALDELETEEFXOBJECTS alDeleteEffects = NULL;
|
LPALDELETEEFXOBJECTS alDeleteEffects = NULL;
|
||||||
LPALISEFXOBJECT alIsEffect = NULL;
|
LPALISEFXOBJECT alIsEffect = NULL;
|
||||||
|
@ -169,7 +172,7 @@ LPALGETEFXOBJECTI alGetAuxiliaryEffectSloti = NULL;
|
||||||
LPALGETEFXOBJECTIV alGetAuxiliaryEffectSlotiv = NULL;
|
LPALGETEFXOBJECTIV alGetAuxiliaryEffectSlotiv = NULL;
|
||||||
LPALGETEFXOBJECTF alGetAuxiliaryEffectSlotf = NULL;
|
LPALGETEFXOBJECTF alGetAuxiliaryEffectSlotf = NULL;
|
||||||
LPALGETEFXOBJECTFV alGetAuxiliaryEffectSlotfv = NULL;
|
LPALGETEFXOBJECTFV alGetAuxiliaryEffectSlotfv = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end of file */
|
/* end of file */
|
||||||
|
|
Loading…
Reference in a new issue