1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Fixed code use of parameter name.

This commit is contained in:
Thomas Harte 2016-04-27 22:58:53 -04:00
parent 494ef6a324
commit 87c778ebb7

View File

@ -76,7 +76,7 @@ std::unique_ptr<OutputShader> OutputShader::make_shader(const char *fragment_met
"{"
"fragColour = vec4(%s, 0.6*cos(lateralVarying));"
"}",
sampler_type, fragment_methods, output_colour);
sampler_type, fragment_methods, colour_expression);
std::unique_ptr<OutputShader> result = std::unique_ptr<OutputShader>(new OutputShader(vertex_shader, fragment_shader, bindings));
free(vertex_shader);