From: Mikko Rasa Date: Sat, 29 Dec 2007 17:35:00 +0000 (+0000) Subject: Add missing dependency to msppath X-Git-Tag: 0.9~15 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6d1e3e1b480be48b78e04fe22fa8924eb18ad994;p=libs%2Fgltk.git Add missing dependency to msppath Give the Resources instance to Font::Loader --- diff --git a/Build b/Build index c0dcafc..7afd6c0 100644 --- a/Build +++ b/Build @@ -4,6 +4,7 @@ package "mspgltk" { require "mspgl"; require "mspgbase"; + require "msppath"; library "mspgltk" { diff --git a/source/resources.cpp b/source/resources.cpp index 2cfe022..b3ec369 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -71,7 +71,7 @@ void Resources::Loader::default_font(const string &name) void Resources::Loader::font(const string &name) { RefPtr fnt=new GL::Font; - load_sub(*fnt); + load_sub(*fnt, res); res.add(name, fnt.get()); if(!res.default_font) res.default_font=fnt.get();