]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.cpp
Some cleanup for View and WindowView
[libs/gl.git] / source / program.cpp
index 11ab151be4fcfef43586737969c43e638383c96b..270dbdc3e5675163017349d0cef901fcffaccdf8 100644 (file)
@@ -45,7 +45,7 @@ Program::Program(const std::string &source)
        if(source.find(';')==string::npos && source.size()>5 && !source.compare(source.size()-5, 5, ".glsl"))
        {
                if(RefPtr<IO::Seekable> io = Resources::get_builtins().open(source))
-                       compiler.compile(*io);
+                       compiler.compile(*io, source);
                else
                        throw IO::file_not_found(source);
        }