X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInclude%2Fgeneral.hxx;h=6e94b3f9f578c129948695eb7bd9eb56a120e0d0;hb=4bfd1722df24f5be89459b25010e5d7352720a7b;hp=9b2eea4d155d78a9274c470ae883cbff5073f774;hpb=18f5bbd0277b2246797f45bc33cb06395f06a153;p=flightgear.git diff --git a/src/Include/general.hxx b/src/Include/general.hxx index 9b2eea4d1..6e94b3f9f 100644 --- a/src/Include/general.hxx +++ b/src/Include/general.hxx @@ -4,7 +4,7 @@ // // Written by Curtis Olson, started July 1997. // -// Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com +// Copyright (C) 1997 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -45,6 +45,7 @@ class FGGeneral { char *glRenderer; char *glVersion; int glMaxTexSize; + int glDepthBits; // Last frame rate measurement int frame_rate; @@ -60,6 +61,8 @@ public: inline void set_glVersion( char *str ) { glVersion = str; } inline void set_glMaxTexSize( int i ) { glMaxTexSize = i; } inline int get_glMaxTexSize() const { return glMaxTexSize; } + inline void set_glDepthBits( int d ) { glDepthBits = d; } + inline int get_glDepthBits() const { return glDepthBits; } inline double get_frame_rate() const { return frame_rate; } #ifdef FANCY_FRAME_COUNTER inline double get_frame(int idx) const { return frames[idx]; }