branch | v_0 |
changeset 34 | 8cf3812a92eb |
parent 31 | 22827574296e |
--- a/Shark.cpp Sat Jan 06 01:04:15 2024 +0100 +++ b/Shark.cpp Tue Oct 08 22:24:40 2024 +0200 @@ -641,7 +641,7 @@ // glBindFragDataLocation(program, 0, "outColor"); // glBindAttribLocation(program, LOC.input, "vertices"); - for (const Configuration::Shader definition : cfg.shaders) { + for (const Configuration::Shader& definition : cfg.shaders) { Shader::Type type; std::string fileName = definition.fileName; if (definition.type == "fragment") type = Shader::Type::FRAGMENT;