Skip to content
Snippets Groups Projects
Commit a7810427 authored by Markus Wick's avatar Markus Wick
Browse files

gl_shader_gen: Initialize position.

IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
parent 77554ac7
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ layout (std140) uniform vs_config { ...@@ -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();
)"; )";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment