Remove useless line in stroking shader in gfx::painter2
All checks were successful
Run tests / Run tests (push) Successful in 7m2s
All checks were successful
Run tests / Run tests (push) Successful in 7m2s
This commit is contained in:
parent
2f7774b83f
commit
a38527a322
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue