]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/od_gauge.hxx
comment out unused variables and function and properly initialize variables
[flightgear.git] / src / Instrumentation / od_gauge.hxx
index 2c957d42977fcf06f88471240a8a67d97de4ca0f..932b4847d1773eb0324322a9b1e00233fd4f178c 100644 (file)
@@ -38,12 +38,14 @@ class FGODGauge : public SGSubsystem {
 public:
     FGODGauge ( SGPropertyNode *node );
     FGODGauge();
-    ~FGODGauge();
+    virtual ~FGODGauge();
     virtual void init ();
     virtual void update (double dt);
 
     void setSize(int viewSize);
-
+    int size() const
+        { return textureWH; }
+    
     /**
      * Say if we can render to a texture.
      * @return true if rtt is available