diff --git a/src/Main/main.cxx b/src/Main/main.cxx index d6a89fab5..2b6ffa0ac 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -405,17 +405,6 @@ static void upper_case_property(const char *name) p->addChangeListener(muc); } -// see http://code.google.com/p/flightgear-bugs/issues/detail?id=385 -// for the details of this. -static void ATIScreenSizeHack() -{ - osg::ref_ptr hackCam = new osg::Camera; - hackCam->setRenderOrder(osg::Camera::PRE_RENDER); - int prettyMuchAnyInt = 1; - hackCam->setViewport(0, 0, prettyMuchAnyInt, prettyMuchAnyInt); - globals->get_renderer()->addCamera(hackCam, false); -} - // Propose NVIDIA Optimus to use high-end GPU #if defined(SG_WINDOWS) extern "C" { @@ -545,11 +534,6 @@ int fgMainInit( int argc, char **argv ) fntInit(); fgSplashInit(); - if (fgGetBool("/sim/ati-viewport-hack", true)) { - SG_LOG(SG_GENERAL, SG_ALERT, "Enabling ATI viewport hack"); - ATIScreenSizeHack(); - } - fgOutputSettings(); //try to disable the screensaver