Some more silencing. Enable with BF_GHOST_DEBUG
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 2 Aug 2011 10:39:46 +0000 (10:39 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 2 Aug 2011 10:39:46 +0000 (10:39 +0000)
intern/ghost/intern/GHOST_NDOFManager.cpp

index 72b0dba297aea975a214bbdb22e41774b8726683..5a0f14c85a367e868dfcb1e3a13b454d09cf0558 100644 (file)
@@ -23,6 +23,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
  * ***** END GPL LICENSE BLOCK *****
  */
 
+#include "GHOST_Debug.h"
 #include "GHOST_NDOFManager.h"
 #include "GHOST_EventNDOF.h"
 #include "GHOST_EventKey.h"
 #include "GHOST_NDOFManager.h"
 #include "GHOST_EventNDOF.h"
 #include "GHOST_EventKey.h"
@@ -186,9 +187,9 @@ GHOST_NDOFManager::GHOST_NDOFManager(GHOST_System& sys)
        memset(m_rotation, 0, sizeof(m_rotation));
 
        #ifdef WITH_INPUT_NDOF
        memset(m_rotation, 0, sizeof(m_rotation));
 
        #ifdef WITH_INPUT_NDOF
-       puts("WITH_INPUT_NDOF is defined!");
+       GHOST_PRINT("WITH_INPUT_NDOF is defined!");
        #else
        #else
-       puts("WITH_INPUT_NDOF is not defined.");
+       GHOST_PRINT("WITH_INPUT_NDOF is not defined.");
        #endif
        }
 
        #endif
        }