]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/progressbar.cpp
Adjust things to conform to changes in other libraries
[libs/gltk.git] / source / progressbar.cpp
index aed83c3e7212c7d727d964edbe9b46cc5cc872ea..9c7bcea0fec9fbedc631f7263f13b4ce5bfca2a2 100644 (file)
@@ -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);
        }
 }