summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_shade_calc.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2014-09-01 11:31:39 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:38:07 +0000
commit61917e9828e2429064de713f43a398f083e6885e (patch)
tree4d87a6f55b485ed8c659e21c21b3bbc25e9737ab /src/renderergl1/tr_shade_calc.c
parent90aef5138379b40146901a9d7fe4b5265c5e26e0 (diff)
Fix renderergl1 warnings
Diffstat (limited to 'src/renderergl1/tr_shade_calc.c')
-rw-r--r--src/renderergl1/tr_shade_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl1/tr_shade_calc.c b/src/renderergl1/tr_shade_calc.c
index a42a86a0..21c459df 100644
--- a/src/renderergl1/tr_shade_calc.c
+++ b/src/renderergl1/tr_shade_calc.c
@@ -772,7 +772,7 @@ void RB_CalcModulateAlphasByFog( unsigned char *colors ) {
*/
void RB_CalcModulateRGBAsByFog( unsigned char *colors ) {
int i;
- float texCoords[SHADER_MAX_VERTEXES][2];
+ float texCoords[SHADER_MAX_VERTEXES][2] = {{0.0f}};
// calculate texcoords so we can derive density
// this is not wasted, because it would only have