mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 10:20:20 +01:00
progs/glsl: Silence uninitialized variable warning.
This commit is contained in:
parent
3b82de92a0
commit
223c8482ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue