forked from ShuriZma/suyu
1
0
Fork 0

gl_shader_gen: Initialize position.

IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
This commit is contained in:
Markus Wick 2018-09-06 12:45:47 +02:00
parent 77554ac773
commit a781042700
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();
)";