diff options
-rw-r--r-- | src/game/bg_misc.c | 2 | ||||
-rw-r--r-- | src/renderergl1/tr_backend.c | 4 | ||||
-rw-r--r-- | src/renderergl1/tr_model.c | 4 | ||||
-rw-r--r-- | src/renderergl2/tr_model.c | 4 |
4 files changed, 3 insertions, 11 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index cf5ace9d..60fb35cd 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -2821,7 +2821,7 @@ void trap_Cvar_VariableStringBuffer( const char *var_name, char *buffer, int bu void BG_AddPredictableEventToPlayerstate( int newEvent, int eventParm, playerState_t *ps ) { -#ifdef _DEBUG +#ifdef DEBUG_EVENTS { char buf[ 256 ]; trap_Cvar_VariableStringBuffer( "showevents", buf, sizeof( buf ) ); diff --git a/src/renderergl1/tr_backend.c b/src/renderergl1/tr_backend.c index a547fbb3..c3b9a8f6 100644 --- a/src/renderergl1/tr_backend.c +++ b/src/renderergl1/tr_backend.c @@ -449,11 +449,7 @@ void RB_BeginDrawingView (void) { if ( r_fastsky->integer && !( backEnd.refdef.rdflags & RDF_NOWORLDMODEL ) ) { clearBits |= GL_COLOR_BUFFER_BIT; // FIXME: only if sky shaders have been used -#ifdef _DEBUG - qglClearColor( 0.8f, 0.7f, 0.4f, 1.0f ); // FIXME: get color of sky -#else qglClearColor( 0.0f, 0.0f, 0.0f, 1.0f ); // FIXME: get color of sky -#endif } qglClear( clearBits ); diff --git a/src/renderergl1/tr_model.c b/src/renderergl1/tr_model.c index 0023f178..a6a5bbce 100644 --- a/src/renderergl1/tr_model.c +++ b/src/renderergl1/tr_model.c @@ -101,9 +101,7 @@ qhandle_t R_RegisterMD3(const char *name, model_t *mod) return mod->index; } -#ifdef _DEBUG - ri.Printf(PRINT_WARNING,"R_RegisterMD3: couldn't load %s\n", name); -#endif + ri.Printf(PRINT_DEVELOPER, "R_RegisterMD3: couldn't load %s\n", name); mod->type = MOD_BAD; return 0; diff --git a/src/renderergl2/tr_model.c b/src/renderergl2/tr_model.c index bd6a6d21..544917b7 100644 --- a/src/renderergl2/tr_model.c +++ b/src/renderergl2/tr_model.c @@ -102,9 +102,7 @@ qhandle_t R_RegisterMD3(const char *name, model_t *mod) return mod->index; } -#ifdef _DEBUG - ri.Printf(PRINT_WARNING,"R_RegisterMD3: couldn't load %s\n", name); -#endif + ri.Printf(PRINT_DEVELOPER, "R_RegisterMD3: couldn't load %s\n", name); mod->type = MOD_BAD; return 0; |