# HG changeset patch # User Michael Goffioul # Date 1341386104 -3600 # Node ID a1e1f914ae7909d3bce89d9b91a3d0160bae02ba # Parent 821708f96efd289563109e4d2ffa288f7fd30488 Make some opengl_renderer methods virtual. * src/gl-render.h (opengl_renderer::setup_opengl_transformation): Make protected and virtual. diff --git a/src/gl-render.h b/src/gl-render.h --- a/src/gl-render.h +++ b/src/gl-render.h @@ -90,6 +90,7 @@ const graphics_object& go); virtual void init_gl_context (bool enhanced, const Matrix& backgroundColor); + virtual void setup_opengl_transformation (const axes::properties& props); virtual void set_color (const Matrix& c); virtual void set_polygon_offset (bool on, double offset = 0.0); @@ -168,8 +169,6 @@ unsigned int make_marker_list (const std::string& m, double size, bool filled) const; - void setup_opengl_transformation (const axes::properties& props); - void draw_axes_planes (const axes::properties& props); void draw_axes_boxes (const axes::properties& props);