Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-02 01:26:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-02 01:26:57 +0300
commit918288138d19c7cd7936705bef7947d941abe708 (patch)
tree7eb58fa2dd06cbbdaf1d5c00e7b0d49fa004aae8 /source/blender/nodes/shader
parent504454ee5ec608de89b07476a8abb91b70ca12a2 (diff)
Cleanup: warnings, trailing space
Diffstat (limited to 'source/blender/nodes/shader')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_mapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_mapping.c b/source/blender/nodes/shader/nodes/node_shader_mapping.c
index 2541b3bc842..98dcd58b983 100644
--- a/source/blender/nodes/shader/nodes/node_shader_mapping.c
+++ b/source/blender/nodes/shader/nodes/node_shader_mapping.c
@@ -88,8 +88,8 @@ static int gpu_shader_mapping(GPUMaterial *mat, bNode *node, bNodeExecData *UNUS
TexMapping *texmap = node->storage;
float domin = (texmap->flag & TEXMAP_CLIP_MIN) != 0;
float domax = (texmap->flag & TEXMAP_CLIP_MAX) != 0;
- static float max[3] = { FLT_MAX, FLT_MAX, FLT_MAX, 0.0};
- static float min[3] = {-FLT_MAX, -FLT_MAX, -FLT_MAX, 0.0};
+ static float max[3] = { FLT_MAX, FLT_MAX, FLT_MAX};
+ static float min[3] = {-FLT_MAX, -FLT_MAX, -FLT_MAX};
GPUNodeLink *tmin, *tmax, *tmat0, *tmat1, *tmat2, *tmat3;
tmin = GPU_uniform_buffer((domin) ? texmap->min : min, GPU_VEC3);