progs/glsl: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee 2010-01-08 22:10:52 -08:00
parent 3b82de92a0
commit 223c8482ca

View file

@ -182,7 +182,7 @@ static void fillConvolution(GLint *k,
static void setupConvolution()
{
GLint *kernel = (GLint*)malloc(sizeof(GLint) * 9);
GLfloat scale;
GLfloat scale = 0.0;
GLfloat *vecKer = (GLfloat*)malloc(sizeof(GLfloat) * 9 * 4);
GLuint loc;
GLuint i;