Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 2cb9c5d

Browse files
author
lonelydevil
authored
Init member value to avoid uninitialized
add depthBiasClamp=0.0f to avoid uinitialized value.
1 parent 43df6c8 commit 2cb9c5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,8 @@ int main(int argc,char **argv){
774774
.depthBiasEnable=VK_FALSE;
775775
rast_cre_info
776776
.depthBiasConstantFactor=0.0f;
777+
rast_cre_info
778+
.depthBiasClamp=0.0f;
777779
rast_cre_info
778780
.depthBiasSlopeFactor=0.0f;
779781
rast_cre_info

0 commit comments

Comments
 (0)