X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftechnique.cpp;h=2b02f35f0cbc70d8cc8621f6a47c0a6f5caf2b9d;hb=3ba81ebaaec0c271d68cc12afbea86c394c3403d;hp=1e8f8fccea433d4e63625e453bab7992beaa1439;hpb=88a5d6707be2f62e81d46fb6d4781c75742749b8;p=libs%2Fgl.git diff --git a/source/technique.cpp b/source/technique.cpp index 1e8f8fcc..2b02f35f 100644 --- a/source/technique.cpp +++ b/source/technique.cpp @@ -13,17 +13,17 @@ using namespace std; namespace Msp { namespace GL { -RenderPass &Technique::add_pass(const GL::Tag &tag) +RenderPass &Technique::add_pass(const Tag &tag) { return insert_unique(passes, tag, RenderPass())->second; } -bool Technique::has_pass(const GL::Tag &tag) const +bool Technique::has_pass(const Tag &tag) const { return passes.count(tag); } -const RenderPass &Technique::get_pass(const GL::Tag &tag) const +const RenderPass &Technique::get_pass(const Tag &tag) const { return get_item(passes, tag); }