Remove useless line in stroking shader in gfx::painter2
All checks were successful
Run tests / Run tests (push) Successful in 7m2s

This commit is contained in:
Nikita Lisitsa 2026-07-21 20:37:22 +03:00
parent 2f7774b83f
commit a38527a322

View file

@ -164,7 +164,6 @@ void main()
{
vec2 p_local = p_screen * mvpw_inv_t;
vec3 sdf_value = eval_sdf(p_local);
p_screen = p_local * mvpw_t;
vec2 d_grad_screen = mvpw_inv_t * sdf_value.xy;
p_screen -= (sdf_value.z / dot(d_grad_screen, d_grad_screen)) * d_grad_screen;
}