diff --git a/src/constants.h b/src/constants.h index 6b35cac..2aa99cb 100644 --- a/src/constants.h +++ b/src/constants.h @@ -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 */ \ No newline at end of file +#endif /* CONSTANTS_H */