Fix position from vertex shader partially uninitialized

This commit is contained in:
Pedro J. Estébanez 2024-07-22 18:16:55 +02:00
parent f135f729b9
commit 0064532c1e
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ void vertex_shader(vec3 vertex_input,
}
#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif
#ifdef USE_MULTIVIEW

View File

@ -352,7 +352,7 @@ void main() {
}
#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif
#ifdef USE_MULTIVIEW