]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/panelnode.hxx
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / Model / panelnode.hxx
index 0745e5d2472d2ed36489ebf1cc5db4c2064307fe..9a5bf938a61bc2c41435592d18e431f74ce19025 100644 (file)
@@ -33,7 +33,9 @@ public:
 
     FGPanel* getPanel() { return _panel; }
 
-    virtual void drawImplementation(osg::State& state) const;
+    virtual void drawImplementation(osg::RenderInfo& renderInfo) const
+    { drawImplementation(*renderInfo.getState()); }
+    void drawImplementation(osg::State& state) const;
     virtual osg::BoundingBox computeBound() const;
 
 private: