mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Mac OpenAL 1.1
Added compatibility function to return max sources the old way. If openal 1.2 method returns 0 it will do it the old way.
This commit is contained in:
parent
5b1e20f28c
commit
fe47048293
2 changed files with 34 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ class SFXALDevice : public SFXDevice
|
|||
void printHRTFInfo(ALCdevice* device);
|
||||
void getEFXInfo(ALCdevice* device);
|
||||
S32 getMaxSources();
|
||||
|
||||
// Compatibility with pre openal 1.2
|
||||
S32 getMaxSourcesOld();
|
||||
|
||||
SFXALDevice( SFXProvider *provider,
|
||||
const OPENALFNTABLE &openal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue