X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fod_gauge.hxx;h=932b4847d1773eb0324322a9b1e00233fd4f178c;hb=1fb790eb60bc36456d7fa58d04d410873eb58810;hp=3b3217d5b7b4d80ee5f30b6b9808f585b8e72e9c;hpb=744a23d0aa198e796b790cb01be9d86b58a29edb;p=flightgear.git diff --git a/src/Instrumentation/od_gauge.hxx b/src/Instrumentation/od_gauge.hxx index 3b3217d5b..932b4847d 100644 --- a/src/Instrumentation/od_gauge.hxx +++ b/src/Instrumentation/od_gauge.hxx @@ -43,7 +43,9 @@ public: 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