1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-28 07:29:45 +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 {
const OpenGL::Shader::AttributeBinding bindings[] = {
{"inputPosition", 0},
{"outputPosition", 1},
{"phaseAndAmplitude", 2},
{"phaseTime", 3},
{"inputStart", 0},
{"outputStart", 1},
{"ends", 2},
{"phaseTimeAndAmplitude", 3},
{nullptr}
};
}