if(!mask)
return;
- GL::PushMatrix push_mat;
- track.apply_matrix();
- GL::translate(0, 0, z_offs);
+ GL::MatrixStack::Push push_mtx(GL::MatrixStack::modelview());
+ GL::Matrix matrix = track.get_matrix();
+ matrix.translate(0, 0, z_offs);
+ GL::MatrixStack::modelview() *= matrix;
glColor4f(color.r, color.g, color.b, color.a);
for(unsigned i=0; mask; ++i, mask>>=1)