summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2011-12-10 11:22:04 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2011-12-10 11:22:04 +0800
commitc3c73aaa703e765e110751cd04ea559b124b08c2 (patch)
tree9bc7de015e8319b8a30d1e3c3a4fbf6fb8ea4c87
parentbe407da1fa7b4ee9287b08f9b465dce2721bbc33 (diff)
SexyAppFramework: Log the used video & sound driverHEADmaster
-rw-r--r--osframework/source/SexyAppFramework/SexyAppBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/osframework/source/SexyAppFramework/SexyAppBase.cpp b/osframework/source/SexyAppFramework/SexyAppBase.cpp
index 17d06bc..922341b 100644
--- a/osframework/source/SexyAppFramework/SexyAppBase.cpp
+++ b/osframework/source/SexyAppFramework/SexyAppBase.cpp
@@ -1762,6 +1762,7 @@ void SexyAppBase::InitVideoDriver()
DoExit (1);
}
DBG_ASSERT (aVideoDriver != NULL);
+ logfi("Using video driver: %s\n", aVideoDriver->mName.c_str());
mDDInterface = aVideoDriver->Create(this);
if (!mDDInterface)
{
@@ -3149,6 +3150,7 @@ void SexyAppBase::InitSoundManager()
mSoundManager = aSoundDriver->Create (this);
if (mSoundManager)
{
+ logfi("Using sound driver: %s\n", aSoundDriver->mName.c_str());
mMusicInterface = aSoundDriver->CreateMusicInterface (this);
break;
}