Unverified Commit 913b2f24 authored by Gargaj's avatar Gargaj Committed by GitHub
Browse files

add uniform to incoming midi data (fixes #116)

parent a5179050
...@@ -131,7 +131,7 @@ namespace Renderer ...@@ -131,7 +131,7 @@ namespace Renderer
"uniform sampler2D {%textures:name%};\n" "uniform sampler2D {%textures:name%};\n"
"{%textures:end%}" // leave off \n here "{%textures:end%}" // leave off \n here
"{%midi:begin%}" // leave off \n here "{%midi:begin%}" // leave off \n here
"float {%midi:name%};\n" "uniform float {%midi:name%};\n"
"{%midi:end%}" // leave off \n here "{%midi:end%}" // leave off \n here
"\n" "\n"
"layout(location = 0) out vec4 out_color; // out_color must be written in order to see anything\n" "layout(location = 0) out vec4 out_color; // out_color must be written in order to see anything\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment