From 0515e466a054c51b60f7b2a57810a85487ed5764 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Sat, 13 Oct 2012 17:25:02 +0000 Subject: [PATCH] Fixing compiler warnings --- reaction/code/renderergl2/tr_postprocess.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reaction/code/renderergl2/tr_postprocess.c b/reaction/code/renderergl2/tr_postprocess.c index 0788deae..0cb162b3 100644 --- a/reaction/code/renderergl2/tr_postprocess.c +++ b/reaction/code/renderergl2/tr_postprocess.c @@ -98,7 +98,7 @@ void RB_ToneMap(FBO_t *hdrFbo, int autoExposure) void RB_BokehBlur(float blur) { - vec4i_t srcBox, dstBox; +// vec4i_t srcBox, dstBox; vec4_t color; blur *= 10.0f; @@ -292,7 +292,7 @@ void RB_GodRays(void) const float cutoff = 0.25f; qboolean colorize = qtrue; - float w, h, w2, h2; +// float w, h, w2, h2; matrix_t mvp; vec4_t pos, hpos; @@ -323,10 +323,11 @@ void RB_GodRays(void) pos[1] = 0.5f - hpos[1] * hpos[3]; // viewport dimensions - w = glConfig.vidWidth; + // JBravo: Apparently not used +/* w = glConfig.vidWidth; h = glConfig.vidHeight; w2 = glConfig.vidWidth / 2; - h2 = glConfig.vidHeight / 2; + h2 = glConfig.vidHeight / 2; */ // initialize quarter buffers {