Changed: on mac, openal is always dynlib

hg/feature/sound
vl 14 years ago
parent 481b840cb9
commit 51245d5f2f

@ -66,7 +66,7 @@ void alExtInitDevice(ALCdevice *device)
} }
} }
#ifndef NL_STATIC #if !defined(NL_STATIC) || defined(NL_OS_MAC)
// EFX // EFX
if ((AlExtEfx = (alcIsExtensionPresent(device, "ALC_EXT_EFX") == ALC_TRUE)) == true) if ((AlExtEfx = (alcIsExtensionPresent(device, "ALC_EXT_EFX") == ALC_TRUE)) == true)
{ {
@ -136,7 +136,7 @@ EAXGetBufferMode eaxGetBufferMode = NULL;
// ALC_EXT_EFX // ALC_EXT_EFX
bool AlExtEfx = false; bool AlExtEfx = false;
// effect objects // effect objects
#ifndef NL_STATIC #if !defined(NL_STATIC) || defined(NL_OS_MAC)
LPALGENEFXOBJECTS alGenEffects = NULL; LPALGENEFXOBJECTS alGenEffects = NULL;
LPALDELETEEFXOBJECTS alDeleteEffects = NULL; LPALDELETEEFXOBJECTS alDeleteEffects = NULL;
LPALISEFXOBJECT alIsEffect = NULL; LPALISEFXOBJECT alIsEffect = NULL;

Loading…
Cancel
Save