X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ffont.cpp;fp=source%2Ffont.cpp;h=c96ec7507aeee520962acf37fcdb2c4a997f4a17;hp=33c1584b53ab4ed5712b9ee876b101ecc8d581c4;hb=0fc02952ed449ff85f5f9e96ea2fc724c8456891;hpb=2e7f19b895424c3a77940e648639f8df2b395d0f diff --git a/source/font.cpp b/source/font.cpp index 33c1584b..c96ec750 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -145,7 +145,7 @@ void Font::Loader::texture() void Font::Loader::texture_ref(const string &name) { - obj.texture = get_collection().get(name); + obj.texture = &get_collection().get(name); obj.texture.keep(); }