From 129ec5bc4f3224323a4750d5793197e2c29d4e2b Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Wed, 18 Mar 2015 15:03:52 +0100 Subject: stop depending on the system-reserved _DEBUG preprocessor-define --- src/renderergl1/tr_backend.c | 4 ---- src/renderergl1/tr_model.c | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/renderergl1') 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; -- cgit