Advertisement
fusion44

Untitled

Dec 17th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. #if OGRE_VERSION_MAJOR == 1
  2. #if OGRE_VERSION_MINOR == 7
  3. void BenchmarkTab::messageLogged(const Ogre::String& message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String& logName)
  4. {
  5.         m_CapsBox->appendText(message.c_str());
  6. }
  7. #endif
  8. #if OGRE_VERSION_MINOR == 8
  9. void BenchmarkTab::messageLogged(const Ogre::String& message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String& logName, bool& skipThisMessage)
  10. {
  11.     if (!skipThisMessage)
  12.     {
  13.         m_CapsBox->appendText(message.c_str());
  14.     }
  15. }
  16. #endif
  17. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement