X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.cpp;h=e16776f8f53f078a2ae53c39b482326a9e8b16cc;hb=69eff0e5febbb008f812d8e83e2332d11c42fbfd;hp=66ca36b1c5210a3ec0e0e29ff1b61a0336bcbe9e;hpb=a1eb8711ba225bb4423868c50369ad5592465171;p=libs%2Fgl.git diff --git a/source/program.cpp b/source/program.cpp index 66ca36b1..e16776f8 100644 --- a/source/program.cpp +++ b/source/program.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include @@ -156,6 +157,7 @@ void Program::link() if(ARB_uniform_buffer_object) { + std::set used_bind_points; count = get_program_i(id, GL_ACTIVE_UNIFORM_BLOCKS); for(unsigned i=0; i