Fix T74663 GPencil: Fills are Flickering on Nvidia

This was caused by an unitialized variable.
This commit is contained in:
Clément Foucault 2020-03-30 17:56:46 +02:00
parent af1e3b0270
commit 6428da84ed
Notes: blender-bot 2023-02-14 09:19:09 +01:00
Referenced by issue #74663, GPencil – Fills are Flickering
1 changed files with 1 additions and 0 deletions

View File

@ -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);