更新 'src/Viewer/fg_os_osgviewer.cxx'

This commit is contained in:
zhongjin 2022-12-09 13:22:55 +08:00
parent a777d74470
commit ff7ff73b41

View File

@ -159,6 +159,10 @@ static const char* getStereoMode()
{
DisplaySettings::StereoMode stereoMode = DisplaySettings::instance()->getStereoMode();
bool stereoOn = DisplaySettings::instance()->getStereo();
//zhongjin
SG_LOG(SG_VIEW, SG_DEBUG, "立体模式: " << stereoOn);
if (!stereoOn) return "OFF";
if (stereoMode == DisplaySettings::QUAD_BUFFER) {
return "QUAD_BUFFER";