summaryrefslogtreecommitdiff
path: root/src/util/profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/profiler.cpp')
-rw-r--r--src/util/profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/profiler.cpp b/src/util/profiler.cpp
index 86c1810..5f9cd25 100644
--- a/src/util/profiler.cpp
+++ b/src/util/profiler.cpp
@@ -4,7 +4,7 @@
#include "../game/vars.h"
#include "string.h"
-CVAR* prof_overlay = var_new( "prof_overlay", 0 );
+CVAR* prof_overlay = var_new( "prof_overlay", "show profiler overlay", 0, 0, 1 );
PROFILER_GLOBAL gprof;
void __profiler_intern_draw_tree( PROFILER_LIST_ENTRY* e, GL_FONT* font, I32* x, I32* y ) {