GPU: Fix signed/unsigned mismatches in shader code #111094

Merged
Jeroen Bakker merged 1 commits from johannesj/blender:20230726-signed-unsigned into main 2023-08-14 11:22:10 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ void main()
vec3 world_pos = point_object_to_world(vec3(au, 0.0));
gl_Position = point_world_to_ndc(world_pos);
finalColor = ((flag & FACE_UV_SELECT) != 0) ? colorFaceDot : vec4(colorWire.rgb, 1.0);
finalColor = ((flag & FACE_UV_SELECT) != 0u) ? colorFaceDot : vec4(colorWire.rgb, 1.0);
gl_PointSize = pointSize;
}