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:
parent
77554ac773
commit
a781042700
|
@ -42,6 +42,7 @@ layout (std140) uniform vs_config {
|
|||
};
|
||||
|
||||
void main() {
|
||||
position = vec4(0.0, 0.0, 0.0, 0.0);
|
||||
exec_vertex();
|
||||
)";
|
||||
|
||||
|
|
Reference in New Issue