EditMesh: Fix uninitialized value causing red outline on edges
This commit is contained in:
parent
fd61b49d50
commit
f666be6edf
|
@ -167,6 +167,8 @@ void main()
|
|||
/* Remember that we are assuming the last vertex
|
||||
* of a triangle is the provoking vertex (decide what flat attribs are). */
|
||||
|
||||
flag = eflag;
|
||||
|
||||
if ((eflag[2] & EDGE_EXISTS) != 0) {
|
||||
/* Do 0 -> 1 edge strip */
|
||||
faceColor = vec4(fcol.rgb, 0.0);
|
||||
|
|
Loading…
Reference in New Issue