GPU: Use Same Type in Comparisons. #106789

Merged
Jeroen Bakker merged 4 commits from Jeroen-Bakker/blender:gpu-compare-similar-types into main 2023-04-11 13:46:22 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ab7d8e383f - Show all commits

View File

@ -30,7 +30,7 @@ void main()
show_handle = false;
}
Jeroen-Bakker marked this conversation as resolved
Review

0 -> 0u on line 33

`0` -> `0u` on line 33
if (!show_handle && ((data & BEZIER_HANDLE) != 0)) {
if (!show_handle && ((data & BEZIER_HANDLE) != 0u)) {
/* We set the vertex at the camera origin to generate 0 fragments. */
gl_Position = vec4(0.0, 0.0, -3e36, 0.0);
}