Skip to content

Commit

Permalink
Fix position from vertex shader partially uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Jul 23, 2024
1 parent f135f72 commit 0064532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void vertex_shader(vec3 vertex_input,
}

#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif

#ifdef USE_MULTIVIEW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void main() {
}

#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif

#ifdef USE_MULTIVIEW
Expand Down

0 comments on commit 0064532

Please sign in to comment.