Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
fastuidraw/glsl/shaders/painter: GLSL fix (remove implicit case)
Browse files Browse the repository at this point in the history
  • Loading branch information
krogueintel committed May 10, 2018
1 parent 6cee4f7 commit 585b874
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fastuidraw_gl_vert_main(in uint sub_shader,
vec2 v;

half_angle = 0.5 * arc_angle;
if ((point_packed_data & uint(fastuidraw_arc_stroke_end_segment_mask)) != 0)
if ((point_packed_data & uint(fastuidraw_arc_stroke_end_segment_mask)) != 0u)
{
half_angle = -half_angle;
}
Expand Down

0 comments on commit 585b874

Please sign in to comment.