X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fprogram.h;h=6613a13451a8493224e4fe77f26dc6f17fcdcb46;hb=0375be1a27f8852ed8ca422db78bf6380d2b11b1;hp=3af4e582f1ba85d7faae39e6331b8b699653542e;hpb=2576b6182929e26af1db22811665cf88f8f20e8e;p=libs%2Fgl.git diff --git a/source/core/program.h b/source/core/program.h index 3af4e582..6613a134 100644 --- a/source/core/program.h +++ b/source/core/program.h @@ -98,9 +98,16 @@ public: }; private: + struct Bindings + { + std::map textures; + std::map blocks; + }; + unsigned id; std::vector stage_ids; const Module *module; + Bindings *bindings; bool linked; std::vector uniform_blocks; std::vector uniforms;