slider_size = (dir==HORIZONTAL ? rgeom.w : rgeom.h);
GL::MeshBuilder bld(part_cache.create_mesh(part, *graphic->get_texture()));
- bld.matrix() *= GL::Matrix::translation(sgeom.x+rgeom.x, sgeom.y+rgeom.y, 0);
+ bld.transform(GL::Matrix::translation(sgeom.x+rgeom.x, sgeom.y+rgeom.y, 0));
graphic->build(rgeom.w, rgeom.h, bld);
}
}