]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programbuilder.h
The GLSL texture function returns a float for shadow samplers
[libs/gl.git] / source / programbuilder.h
index 9ca9c8539b54c1046a2d97b29e7b854506c128d2..62d8e07a087f7cebca651ee00b78a947131f96f0 100644 (file)
@@ -147,7 +147,7 @@ private:
        static MatchType name_match(const char *, const char *, const char ** = 0);
        static bool parse_identifier(const char *, unsigned &, unsigned &);
        static std::vector<std::string> extract_identifiers(const char *);
-       static std::string replace_identifiers(const char *, const std::map<std::string, std::string> &);
+       static std::string replace_identifiers(const char *, const std::map<std::string, std::string> &, bool = false);
        std::string create_expression(const ShaderVariable &, const char * = 0) const;
 };