GPU: Fix signed/unsigned mismatches in shader code
This fixes a crash when switching to face selection mode in the UV editor. Pull Request: https://projects.blender.org/blender/blender/pulls/111094
This commit is contained in:
committed by
Jeroen Bakker
parent
9094a3a9ab
commit
769fe07668
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user