diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-28 19:22:13 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-28 19:22:13 +0400 |
commit | 35f881b44dfed78290770f929405b63f480d78cb (patch) | |
tree | 46b8bd126157193dc658fbb7e9716150b28bd466 /source/blender/gpu | |
parent | 113d556295a84603b95e5bc318e2cb28a27097ed (diff) |
Commented and tagged some unused vars, added some var init (gcc warnings...)
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index c3cbcb61622..f435b507a2a 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -903,7 +903,7 @@ static void do_material_tex(GPUShadeInput *shi) /*char *lastuvname = NULL;*/ /*UNUSED*/ float one = 1.0f, norfac, ofs[3]; int tex_nr, rgbnor, talpha; - int init_done = 0, iBumpSpacePrev; + int init_done = 0, iBumpSpacePrev = 0; /* Not necessary, quiting gcc warning. */ GPUNodeLink *vNorg, *vNacc, *fPrevMagnitude; int iFirstTimeNMap=1; int found_deriv_map = 0; |