X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fprogram.h;h=b41f9ac225e9edc724b18d375b278e4793b6b15b;hb=5a93cc603eef43617a10b76bc9c19a3272ac1d49;hp=642bcf5e7755652734069e33d9df182a0e2fad96;hpb=2579be0c3bf50f060364b937e6b2446ea3547e4b;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index 642bcf5e..b41f9ac2 100644 --- a/source/program.h +++ b/source/program.h @@ -7,6 +7,7 @@ #include "bindable.h" #include "gl.h" #include "programbuilder.h" +#include "vertexformat.h" namespace Msp { namespace GL { @@ -81,6 +82,7 @@ public: const ShaderList &get_shaders() const { return shaders; } void bind_attribute(unsigned, const std::string &); + void bind_attribute(VertexComponent, const std::string &); void bind_fragment_data(unsigned, const std::string &); void link();