summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_shade_calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_shade_calc.c')
-rw-r--r--src/renderergl2/tr_shade_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_shade_calc.c b/src/renderergl2/tr_shade_calc.c
index 9b2ac3e8..b6a3e205 100644
--- a/src/renderergl2/tr_shade_calc.c
+++ b/src/renderergl2/tr_shade_calc.c
@@ -641,7 +641,7 @@ float RB_CalcWaveAlphaSingle( const waveForm_t *wf )
*/
void RB_CalcModulateColorsByFog( 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