1
0
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:
Thomas Harte 2017-11-16 17:20:23 -08:00 committed by GitHub
commit 532ea35ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}
}; };
} }