gl_common: add dummy initialization

The uninitialized values are passed through some functions, but will be
eventually unused. Initialize them anyway to avoid potential undefined
behavior and for clarity.
This commit is contained in:
wm4 2012-11-01 01:12:28 +01:00
parent fc656c6bcc
commit e57802a39f
1 changed files with 2 additions and 2 deletions

View File

@ -1567,8 +1567,8 @@ static void glSetupYUVFragprog(GL *gl, gl_conversion_params_t *params)
char *yuv_prog = NULL;
char **prog = &yuv_prog;
int cur_texu = 3;
char lum_scale_texs[1];
char chrom_scale_texs[1];
char lum_scale_texs[1] = {0};
char chrom_scale_texs[1] = {0};
char conv_texs[1];
char filt_texs[1] = {0};
GLint i;