+ 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, source);
+ else
+ throw IO::file_not_found(source);
+ }
+ else
+ compiler.compile(source);