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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-31 02:47:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-31 08:44:47 +0300
commit41dce8af6a425f6cf7cdcbf440ed51566e13a99b (patch)
treec3b7253e07ed28da13d571f6bf17ddaf4d720d1d /source
parent6b286ca66717a5a5a9c885ec62d4f4ec0af35676 (diff)
Cleanup: clang-format
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
index 7d6d9e98056..4a6025fcd24 100644
--- a/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
+++ b/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
@@ -115,7 +115,8 @@ void main()
if (mode == MODE_REGULAR) {
if (stroke_color.a > 0) {
if (mix_color.a > 0) {
- FragColor = vec4(mix(stroke_color.rgb, mix_color.rgb, mix_color.a * blend_opacity), stroke_color.a);
+ FragColor = vec4(mix(stroke_color.rgb, mix_color.rgb, mix_color.a * blend_opacity),
+ stroke_color.a);
gl_FragDepth = mix_depth;
}
else {