mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
extra fixes for options menu and setting up from device name
This commit is contained in:
parent
d56bf257c7
commit
15a7b8cce0
7 changed files with 183 additions and 44 deletions
|
|
@ -82,9 +82,6 @@ class SFXDevice
|
|||
typedef BufferVector::iterator BufferIterator;
|
||||
typedef VoiceVector::iterator VoiceIterator;
|
||||
|
||||
/// The name of this device.
|
||||
String mName;
|
||||
|
||||
/// The provider which created this device.
|
||||
SFXProvider mProvider;
|
||||
|
||||
|
|
@ -146,7 +143,7 @@ public:
|
|||
S32 getMaxBuffers() const { return mMaxBuffers; }
|
||||
|
||||
/// Returns the name of this device.
|
||||
const String& getName() const { return mName; }
|
||||
const String& getName() const { return mProvider.getName(); }
|
||||
|
||||
/// Return the device capability flags.
|
||||
U32 getCaps() const { return mCaps; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue