Changed: on mac, openal is always dynlib

This commit is contained in:
vl 2011-02-18 09:10:55 +01:00
parent df5412fb68
commit 6f649a49a8

View file

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