X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Fprogressbar.cpp;h=9c7bcea0fec9fbedc631f7263f13b4ce5bfca2a2;hp=aed83c3e7212c7d727d964edbe9b46cc5cc872ea;hb=6deafc9f236b90175a303944815f7c0eac1c95c1;hpb=999cd0294889e5eecd61df18a697d2c55ed6c0d6 diff --git a/source/progressbar.cpp b/source/progressbar.cpp index aed83c3..9c7bcea 100644 --- a/source/progressbar.cpp +++ b/source/progressbar.cpp @@ -54,7 +54,7 @@ void ProgressBar::rebuild_special(const Part &part) 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); } }