diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-03-30 18:56:46 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-03-30 18:57:31 +0300 |
commit | 6428da84ed37534014f6c85b141af67af951813d (patch) | |
tree | e26549084f0239b6cd880015bc728701da286d9f /source/blender/draw/engines/gpencil | |
parent | af1e3b027083041bb6555fba2e910ebefecbb5a0 (diff) |
Fix T74663 GPencil: Fills are Flickering on Nvidia
This was caused by an unitialized variable.
Diffstat (limited to 'source/blender/draw/engines/gpencil')
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl index 872f25be72b..5155bfeab90 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl @@ -574,6 +574,7 @@ void fill_vertex() finalUvs = rot_scale * uv1.xy + loc; # endif + strokeHardeness = 1.0; strokeThickness = 1e18; strokeAspect = vec2(1.0); strokePt1 = strokePt2 = vec2(0.0); |