revert to using the stock mac framework, and encapsulate nonstandard openal extensions usage under a set of #if defined(AL_ALEXT_PROTOTYPES) blocks

This commit is contained in:
Brian Roberts 2019-05-24 11:11:09 -05:00
parent c0c8ecf521
commit 518cd593b2
6 changed files with 33 additions and 17 deletions

View file

@ -85,6 +85,7 @@ class SFXALDevice : public SFXDevice
virtual void setDistanceModel( SFXDistanceModel model );
virtual void setDopplerFactor( F32 factor );
virtual void setRolloffFactor( F32 factor );
#if defined(AL_ALEXT_PROTOTYPES)
//function for openAL to open slots
virtual void openSlots();
//slots
@ -93,7 +94,8 @@ class SFXALDevice : public SFXDevice
ALuint uLoop;
//get values from sfxreverbproperties and pass it to openal device
virtual void setReverb(const SFXReverbProperties& reverb);
#endif
virtual void resetReverb() {}
};
#endif // _SFXALDEVICE_H_
#endif // _SFXALDEVICE_H_