]> git.tdb.fi Git - libs/gl.git/blobdiff - source/font.cpp
mspdatafile APIs have changed slightly
[libs/gl.git] / source / font.cpp
index 33c1584b53ab4ed5712b9ee876b101ecc8d581c4..c96ec7507aeee520962acf37fcdb2c4a997f4a17 100644 (file)
@@ -145,7 +145,7 @@ void Font::Loader::texture()
 
 void Font::Loader::texture_ref(const string &name)
 {
-       obj.texture = get_collection().get<Texture2D>(name);
+       obj.texture = &get_collection().get<Texture2D>(name);
        obj.texture.keep();
 }