changeset 14918:a1e1f914ae79

Make some opengl_renderer methods virtual. * src/gl-render.h (opengl_renderer::setup_opengl_transformation): Make protected and virtual.
author Michael Goffioul <michael.goffioul@gmail.com>
date Wed, 04 Jul 2012 08:15:04 +0100
parents 821708f96efd
children c55493bb7363
files src/gl-render.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);