Merge pull request #1248 from degasus/shader_fix
gl_shader_gen: Initialize position.
This commit is contained in:
commit
fbaefc47a0
|
@ -42,6 +42,7 @@ layout (std140) uniform vs_config {
|
|||
};
|
||||
|
||||
void main() {
|
||||
position = vec4(0.0, 0.0, 0.0, 0.0);
|
||||
exec_vertex();
|
||||
)";
|
||||
|
||||
|
|
Loading…
Reference in New Issue