summaryrefslogtreecommitdiff
path: root/src/renderergl1
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-03-18 15:03:52 +0100
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:09 +0100
commit129ec5bc4f3224323a4750d5793197e2c29d4e2b (patch)
tree8f12edd208a81fc81366b3fe4c59022567321f5c /src/renderergl1
parent5c84a2b60360fb956715456c5edc5a21628f1d74 (diff)
stop depending on the system-reserved _DEBUG preprocessor-define
Diffstat (limited to 'src/renderergl1')
-rw-r--r--src/renderergl1/tr_backend.c4
-rw-r--r--src/renderergl1/tr_model.c4
2 files changed, 1 insertions, 7 deletions
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;