GL::Font *Resources::create_font(const string &name)
{
RefPtr<GL::Font> fnt=new GL::Font;
- DataFile::load<GL::Font, Resources &>(*fnt, (path/name).str(), *this);
+ DataFile::load(*fnt, (path/name).str(), *this);
if(!default_font)
default_font=fnt.get();
return fnt.release();