X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fod_gauge.hxx;h=932b4847d1773eb0324322a9b1e00233fd4f178c;hb=1fb790eb60bc36456d7fa58d04d410873eb58810;hp=2c957d42977fcf06f88471240a8a67d97de4ca0f;hpb=800dd73551b53dc2f048902845276657cc0fcbbb;p=flightgear.git diff --git a/src/Instrumentation/od_gauge.hxx b/src/Instrumentation/od_gauge.hxx index 2c957d429..932b4847d 100644 --- a/src/Instrumentation/od_gauge.hxx +++ b/src/Instrumentation/od_gauge.hxx @@ -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