Merge with develop

--HG--
branch : compatibility-develop
This commit is contained in:
kervala 2015-11-15 18:33:50 +01:00
commit 049a5a6e91
3 changed files with 7 additions and 4 deletions

View file

@ -79,8 +79,7 @@ using namespace std;
#define LOG_IN_FILE NEL_LOG_IN_FILE
// If true, debug system will trap crash even if the application is in debugger
//static const bool TrapCrashInDebugger = false;
static const bool TrapCrashInDebugger = true;
static const bool TrapCrashInDebugger = false;
#ifdef DEBUG_NEW
#define new DEBUG_NEW

View file

@ -630,7 +630,11 @@ void CSoundDriverAL::commit3DChanges()
/// Write information about the driver to the output stream.
void CSoundDriverAL::writeProfile(std::string& out)
{
// TODO
out = toString("OpenAL\n");
out += toString("Source size: %u\n", (uint32)_Sources.size());
out += toString("Effects size: %u\n", (uint32)_Effects.size());
// TODO: write other useful information like OpenAL version and supported extensions
}
// Does not create a sound loader .. what does it do then?

View file

@ -179,7 +179,7 @@ CSoundDriverXAudio2::CSoundDriverXAudio2(ISoundDriver::IStringMapperProvider * /
uint32 flags = 0;
#ifdef NL_DEBUG
flags |= XAUDIO2_DEBUG_ENGINE; // comment when done using this :)
// flags |= XAUDIO2_DEBUG_ENGINE; // comment when done using this :)
#endif
// XAudio2