align.apply(rgeom, geom, part.get_margin());
GL::MeshBuilder bld(part_cache.create_mesh(part, *graphic->get_texture()));
- bld.matrix() *= GL::Matrix::translation(rgeom.x, rgeom.y, 0);
+ bld.transform(GL::Matrix::translation(rgeom.x, rgeom.y, 0));
graphic->build(rgeom.w, rgeom.h, bld);
}
}