Fix #131846: Overlay: Wireframe missing

Regression from b295df7345
Fix fragment/selection logic
This commit is contained in:
Miguel Pozo
2024-12-13 16:04:51 +01:00
parent c99b7e66b2
commit 9ec5a0cb02

View File

@@ -32,7 +32,7 @@ void main()
fragColor = vec4(mix(final_front_col, rim_col, saturate(fac)), 1.0);
fragColor *= fragColor;
#elif defined(SELECT_ENABLE)
#elif !defined(SELECT_ENABLE)
lineOutput = pack_line_data(gl_FragCoord.xy, edgeStart, edgePos);
fragColor = finalColor;