diff options
Diffstat (limited to '')
-rw-r--r-- | src/apDebug.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apDebug.cpp b/src/apDebug.cpp index ee31c28..bcaf33f 100644 --- a/src/apDebug.cpp +++ b/src/apDebug.cpp @@ -32,9 +32,11 @@ class APDebugDrawer : public m3d::proc_c { static APDebugDrawer defaultInstance; +static bool enableDebugMode = false; int APDebugDraw() { - defaultInstance.drawMe(); + if (enableDebugMode) + defaultInstance.drawMe(); return 1; } |