glapi: Move to src/mapi/.
[mesa.git] / progs / glsl / convolutions.c
index 350e61bbdc5d08288f974b3b9da00fec07b04e43..fdfaf568a2518ca16b3cbc2d357e949fbdd48013 100644 (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;