From 42515f458e3981021a071d7431ee4722c3b6c362 Mon Sep 17 00:00:00 2001 From: vl Date: Thu, 23 Sep 2010 15:50:44 +0200 Subject: [PATCH] Added: case for static version of the driver --- code/nel/src/sound/driver/openal/ext_al.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/nel/src/sound/driver/openal/ext_al.cpp b/code/nel/src/sound/driver/openal/ext_al.cpp index a444fb54a..b3c5cf6aa 100644 --- a/code/nel/src/sound/driver/openal/ext_al.cpp +++ b/code/nel/src/sound/driver/openal/ext_al.cpp @@ -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 */