fix: const vertex_shader_text
Clang Build CI / build-release (push) Has been cancelled
Clang Build CI / run-no-video (push) Has been cancelled
Clang Build CI / run-video (push) Has been cancelled
Clang Lint CI / lint-video (push) Has been cancelled
Clang Lint CI / lint-no-video (push) Has been cancelled

This commit is contained in:
2026-05-16 18:48:26 +02:00
parent 9787f468e8
commit cbdf4c768d
+2 -2
View File
@@ -3,7 +3,7 @@
#ifndef CONSTANTS_H
#define CONSTANTS_H
static char *vertex_shader_text =
static const char *vertex_shader_text =
"#version 460\n"
"const mat4 mvp = "
"{{2.,0.,0.,0.},{0.,2.,0.,0.},{0.,0.,2.,0.},{-1.,-1.,1.,1.}};\n"
@@ -19,4 +19,4 @@ static const Vertex vertices[6] = {{{0.0f, 0.0f}}, {{0.0f, 1.0f}},
{{1.0f, 1.0f}}, {{0.0f, 0.0f}},
{{1.0f, 1.0f}}, {{1.0f, 0.0f}}};
#endif /* CONSTANTS_H */
#endif /* CONSTANTS_H */