X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_os_osgviewer.cxx;h=e2556f5b2ea12e5c2e274c4b0cfe043c7202a33e;hb=38226af24ec01e8f0a20d7fd73ef838a69f6ef25;hp=483a7f4178387ba10e4e472ed3470277cd14829f;hpb=a28c3246cb5481952f057b373ea396c93f98f2fd;p=flightgear.git diff --git a/src/Main/fg_os_osgviewer.cxx b/src/Main/fg_os_osgviewer.cxx index 483a7f417..e2556f5b2 100644 --- a/src/Main/fg_os_osgviewer.cxx +++ b/src/Main/fg_os_osgviewer.cxx @@ -102,7 +102,7 @@ static osg::ref_ptr mainCamera; static void setStereoMode( const char * mode ) { - DisplaySettings::StereoMode stereoMode; + DisplaySettings::StereoMode stereoMode = DisplaySettings::QUAD_BUFFER; bool stereoOn = true; if (strcmp(mode,"QUAD_BUFFER")==0)