gl_shader_gen: Initialize position.

IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
pull/8/head
Markus Wick 7 years ago
parent 77554ac773
commit a781042700

@ -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();
)"; )";

Loading…
Cancel
Save