]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/font.cpp
Remove collection-less constructor overloads from most loaders
[libs/gl.git] / source / builders / font.cpp
index dfa6bf9cf953685c2472c29b29788447e53e6642..4fb643527c83d9ea43058ffb81ead0332a74941e 100644 (file)
@@ -1,7 +1,6 @@
 #include <msp/core/maputils.h>
 #include <msp/datafile/collection.h>
 #include <msp/fs/utils.h>
-#include "gl.h"
 #include "font.h"
 #include "primitivebuilder.h"
 #include "texture2d.h"
@@ -144,19 +143,8 @@ Font::Glyph::Glyph():
 { }
 
 
-Font::Loader::Loader(Font &f):
-       DataFile::CollectionObjectLoader<Font>(f, 0)
-{
-       init();
-}
-
 Font::Loader::Loader(Font &f, Collection &c):
        DataFile::CollectionObjectLoader<Font>(f, &c)
-{
-       init();
-}
-
-void Font::Loader::init()
 {
        add("native_size", &Font::native_size);
        add("ascent",      &Font::ascent);