X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftechnique.h;h=bed1db3385046e23af3311fc7dd649cd8fc8c0a1;hb=c01b102f54770c37a62870f60a849b479aa3285c;hp=7ea695378714d669dabfd8104030664fc1d42787;hpb=c537fbfc72d3b76719b2080266291fcf7623750b;p=libs%2Fgl.git diff --git a/source/technique.h b/source/technique.h index 7ea69537..bed1db33 100644 --- a/source/technique.h +++ b/source/technique.h @@ -50,7 +50,7 @@ public: 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; };