diff --git a/src/python/magnum/text.cpp b/src/python/magnum/text.cpp index da15ee4..bed14f0 100644 --- a/src/python/magnum/text.cpp +++ b/src/python/magnum/text.cpp @@ -90,7 +90,7 @@ void text(py::module_& m) { py::class_ abstractGlyphCache{m, "AbstractGlyphCache", "Base for glyph caches"}; abstractGlyphCache /** @todo features */ - .def_property_readonly("texture_size", &Text::AbstractGlyphCache::textureSize, "Glyph cache texture size") + .def_property_readonly("texture_size", &Text::AbstractGlyphCache::size, "Glyph cache texture size") .def_property_readonly("padding", &Text::AbstractGlyphCache::padding, "Glyph padding") /** @todo glyph iteration and population */ ;