Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var
This commit is contained in:
@@ -285,6 +285,9 @@ class OSG_EXPORT DisplaySettings : public osg::Referenced
|
||||
unsigned int getGLContextProfileMask() const { return _glContextProfileMask; }
|
||||
|
||||
|
||||
void setKeystoneHint(bool enabled) { _keystoneHint = enabled; }
|
||||
bool getKeystoneHint() const { return _keystoneHint; }
|
||||
|
||||
typedef std::vector<std::string> FileNames;
|
||||
void setKeystoneFileNames(const FileNames& filenames) { _keystoneFileNames = filenames; }
|
||||
FileNames& getKeystoneFileNames() { return _keystoneFileNames; }
|
||||
@@ -363,6 +366,7 @@ class OSG_EXPORT DisplaySettings : public osg::Referenced
|
||||
SwapMethod _swapMethod;
|
||||
|
||||
|
||||
bool _keystoneHint;
|
||||
FileNames _keystoneFileNames;
|
||||
Objects _keystones;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user