X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftechnique.h;h=bed1db3385046e23af3311fc7dd649cd8fc8c0a1;hb=c01b102f54770c37a62870f60a849b479aa3285c;hp=6841f486fd3fc3096e6884eb94621ef53c56e716;hpb=88a5d6707be2f62e81d46fb6d4781c75742749b8;p=libs%2Fgl.git diff --git a/source/technique.h b/source/technique.h index 6841f486..bed1db33 100644 --- a/source/technique.h +++ b/source/technique.h @@ -1,5 +1,5 @@ -#ifndef TECHNIQUE_H_ -#define TECHNIQUE_H_ +#ifndef MSP_GL_TECHNIQUE_H_ +#define MSP_GL_TECHNIQUE_H_ #include "renderpass.h" #include "tag.h" @@ -46,11 +46,11 @@ private: PassMap passes; public: - RenderPass &add_pass(const GL::Tag &); - bool has_pass(const GL::Tag &) const; - const RenderPass &get_pass(const GL::Tag &) const; + RenderPass &add_pass(const Tag &); + bool has_pass(const Tag &) const; + const RenderPass &get_pass(const Tag &) const; const PassMap &get_passes() const { return passes; } - void replace_texture(const std::string &, const Texture &); + bool replace_texture(const std::string &, const Texture &); bool has_shaders() const; };