mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-28 22:30:30 +00:00
Merge pull request #280 from TomHarte/AttributeBindings
Corrects intermediate shader attribute bindings.
This commit is contained in:
commit
532ea35ee9
@ -17,10 +17,10 @@ using namespace OpenGL;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const OpenGL::Shader::AttributeBinding bindings[] = {
|
const OpenGL::Shader::AttributeBinding bindings[] = {
|
||||||
{"inputPosition", 0},
|
{"inputStart", 0},
|
||||||
{"outputPosition", 1},
|
{"outputStart", 1},
|
||||||
{"phaseAndAmplitude", 2},
|
{"ends", 2},
|
||||||
{"phaseTime", 3},
|
{"phaseTimeAndAmplitude", 3},
|
||||||
{nullptr}
|
{nullptr}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user