]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programcompiler.h
Add file and line information to ProgramParser errors
[libs/gl.git] / source / programcompiler.h
index 6b1e1cdafe79f9be2ad0df6858cd89b95942e859..fea7a73fb78c3e8a0b68d12c7a9aa25f73018840 100644 (file)
@@ -376,8 +376,9 @@ private:
 public:
        ProgramCompiler();
 
-       void compile(const std::string &);
-       void compile(IO::Base &, Resources * = 0);
+       void compile(const std::string &, const std::string & = "<string>");
+       void compile(IO::Base &, Resources * = 0, const std::string & = "<file>");
+       void compile(IO::Base &, const std::string &);
        void add_shaders(Program &);
 
 private: