projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b82de9
)
progs/glsl: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sat, 9 Jan 2010 06:10:52 +0000
(22:10 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 9 Jan 2010 06:10:52 +0000
(22:10 -0800)
progs/glsl/convolutions.c
patch
|
blob
|
history
diff --git
a/progs/glsl/convolutions.c
b/progs/glsl/convolutions.c
index 350e61bbdc5d08288f974b3b9da00fec07b04e43..fdfaf568a2518ca16b3cbc2d357e949fbdd48013 100644
(file)
--- a/
progs/glsl/convolutions.c
+++ b/
progs/glsl/convolutions.c
@@
-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;