X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprogram.h;h=48c18d0f56333371130710942a4dbdc9076e9f45;hb=58e4e69e640838076c506a94cd5f8f905d55420a;hp=5ed61eaafb647654ba2f91ec8860340073f7645a;hpb=6c8e599159ea8d954cb78bccb3580160a07a76a8;p=libs%2Fgl.git diff --git a/source/core/program.h b/source/core/program.h index 5ed61eaa..48c18d0f 100644 --- a/source/core/program.h +++ b/source/core/program.h @@ -63,7 +63,11 @@ public: { std::string name; const UniformBlockInfo *block; - unsigned location; + union + { + int location; + unsigned offset; + }; unsigned array_size; unsigned array_stride; unsigned matrix_stride;