diff --git a/src/Main/.renderer.cxx.swp b/src/Main/.renderer.cxx.swp new file mode 100644 index 000000000..9ebc72734 Binary files /dev/null and b/src/Main/.renderer.cxx.swp differ diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index d1fa367cf..c88003f1e 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -613,11 +613,11 @@ FGRenderer::update( bool refresh_camera_settings ) { if ( fgGetBool("/sim/rendering/textures") ) { SGVec4f clearColor(l->adj_fog_color()); - camera->setClearColor(toOsg(clearColor)); + camera->setClearColor(osg::Vec4(0.0, 0.0, 0.0, 1.0)); } } else { SGVec4f clearColor(l->sky_color()); - camera->setClearColor(toOsg(clearColor)); + camera->setClearColor(osg::Vec4(0.0, 0.0, 0.0, 1.0)); } // update fog params if visibility has changed