Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korcza...
[blender-staging.git] / intern / ghost / intern / GHOST_Debug.h
index 602f52a6435c3998c3da9a8bbfdfb1b3212713b1..e77f3b9c46106681678e61b18ff61fef019647b1 100644 (file)
 
 #ifdef GHOST_DEBUG
        #define GHOST_PRINT(x) { std::cout << x; }
-       //#define GHOST_PRINTF(x) { printf(x); }
+       #define GHOST_PRINTF(x, ...) { printf(x, __VA_ARGS__); }
 #else  // GHOST_DEBUG
        #define GHOST_PRINT(x)
-       //#define GHOST_PRINTF(x)
+       #define GHOST_PRINTF(x, ...)
 #endif // GHOST_DEBUG