X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Ftrack.cpp;fp=source%2F3d%2Ftrack.cpp;h=cd17b811a7ea56ba484ee50067c0d513b8f44522;hb=277e8e7e4230aa8867f507ace62476afe575cff1;hp=8b36b194220c0c3175da4c322e9b846e5112b656;hpb=629ded2c61ef25ec34cc52b03fe69d02e72db50f;p=r2c2.git diff --git a/source/3d/track.cpp b/source/3d/track.cpp index 8b36b19..cd17b81 100644 --- a/source/3d/track.cpp +++ b/source/3d/track.cpp @@ -7,7 +7,6 @@ Distributed under the GPL #include #include -#include #include #include "libr2c2/tracktype.h" #include "endpoint.h" @@ -107,12 +106,6 @@ GL::Matrix Track3D::get_matrix() const void Track3D::setup_render(Msp::GL::Renderer &renderer, const GL::Tag &) const { renderer.matrix_stack() *= get_matrix(); - glPushName(reinterpret_cast(this)); -} - -void Track3D::finish_render(Msp::GL::Renderer &, const GL::Tag &) const -{ - glPopName(); } void Track3D::link_changed(unsigned i, Track *trk)