diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-04-11 13:43:45 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-04-11 13:43:45 +0000 |
commit | b49a80842879a4d30d9494cc51de078c99a77db0 (patch) | |
tree | dd3797ce17662f2703db702dd8b666157d03c8dd | |
parent | f735e05832171ccca45a912210d3ae83fa1f96a1 (diff) |
Fixed compilation error with _DEBUG enabled.
-rw-r--r-- | source/cl_view.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cl_view.c b/source/cl_view.c index 7ec19fc..8f8e398 100644 --- a/source/cl_view.c +++ b/source/cl_view.c @@ -40,7 +40,9 @@ static cvar_t *cl_add_blend; #ifdef _DEBUG static cvar_t *cl_testparticles; static cvar_t *cl_testentities; +#if USE_DLIGHTS static cvar_t *cl_testlights; +#endif static cvar_t *cl_testblend; static cvar_t *cl_stats; @@ -525,7 +527,11 @@ void V_RenderView( void ) { R_RenderFrame (&cl.refdef); #ifdef _DEBUG if (cl_stats->integer) +#if USE_DLIGHTS Com_Printf ("ent:%i lt:%i part:%i\n", r_numentities, r_numdlights, r_numparticles); +#else + Com_Printf ("ent:%i part:%i\n", r_numentities, r_numparticles); +#endif #endif V_SetLightLevel(); |