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:
authorGermano <germano.costa@ig.com.br>2018-04-09 19:45:57 +0300
committerGermano <germano.costa@ig.com.br>2018-04-09 19:45:57 +0300
commit4a656f5d1689ce47f0f1c8408deccad8a89e2f95 (patch)
tree434b65e7e6dd8c7b4cb13dbf46386d12a46e422c /source/blender/gpu/intern/gpu_shader.c
parent2a0dca42521227b7fccbdc4e451cd2a15de37650 (diff)
GPU Shader: Cleanup: Remove unnecessary ";"
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader.c')
-rw-r--r--source/blender/gpu/intern/gpu_shader.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.c b/source/blender/gpu/intern/gpu_shader.c
index db5c2d1bcb5..e0b11edb197 100644
--- a/source/blender/gpu/intern/gpu_shader.c
+++ b/source/blender/gpu/intern/gpu_shader.c
@@ -828,27 +828,27 @@ GPUShader *GPU_shader_get_builtin_shader(GPUBuiltinShader shader)
switch (shader) {
case GPU_SHADER_2D_WIDGET_BASE_INST:
case GPU_SHADER_2D_NODELINK_INST:
- defines = "#define USE_INSTANCE;\n";
+ defines = "#define USE_INSTANCE\n";
break;
case GPU_SHADER_SMOKE_COBA:
- defines = "#define USE_COBA;\n";
+ defines = "#define USE_COBA\n";
break;
case GPU_SHADER_INSTANCE_VARIYING_COLOR_VARIYING_SIZE:
- defines = "#define UNIFORM_SCALE;\n";
+ defines = "#define UNIFORM_SCALE\n";
break;
case GPU_SHADER_3D_INSTANCE_SCREEN_ALIGNED_AXIS:
- defines = "#define AXIS_NAME;\n";
+ defines = "#define AXIS_NAME\n";
break;
case GPU_SHADER_3D_OBJECTSPACE_SIMPLE_LIGHTING_VARIYING_COLOR:
case GPU_SHADER_3D_INSTANCE_BONE_ENVELOPE_SOLID:
- defines = "#define USE_INSTANCE_COLOR;\n";
+ defines = "#define USE_INSTANCE_COLOR\n";
break;
case GPU_SHADER_3D_FLAT_COLOR_U32:
case GPU_SHADER_3D_UNIFORM_COLOR_U32:
- defines = "#define USE_COLOR_U32;\n";
+ defines = "#define USE_COLOR_U32\n";
break;
case GPU_SHADER_SIMPLE_LIGHTING_FLAT_COLOR:
- defines = "#define USE_FLAT_NORMAL;\n";
+ defines = "#define USE_FLAT_NORMAL\n";
break;
default:
break;