1
0
Fork 0
forked from suyu/suyu

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

View file

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