Merge pull request #1248 from degasus/shader_fix

gl_shader_gen: Initialize position.
This commit is contained in:
bunnei 2018-09-06 13:06:09 -04:00 committed by GitHub
commit fbaefc47a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ layout (std140) uniform vs_config {
};
void main() {
position = vec4(0.0, 0.0, 0.0, 0.0);
exec_vertex();
)";