Fix renderergl2 warnings

This commit is contained in:
Tim Angus 2014-09-01 11:35:49 +01:00
parent d38039f975
commit 6665ea4a49
4 changed files with 7 additions and 9 deletions

View file

@ -640,7 +640,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