From: Frederic Bouvier Date: Sun, 25 Mar 2012 17:05:10 +0000 (+0200) Subject: Warn of harmless messages caused by the Rembrandt renderer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e735e623484c72028754540457fe8abb010fed0;p=flightgear.git Warn of harmless messages caused by the Rembrandt renderer --- diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index cd9515264..5083f89da 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -903,6 +903,7 @@ const char *fog_frag_src = "" osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* info, osg::GraphicsContext* gc ) { + SG_LOG( SG_INPUT, SG_ALERT, "Harmless warning messages on effects not found beyond this point" ); osg::Camera* camera = new osg::Camera; info->addCamera(flightgear::LIGHTING_CAMERA, camera ); @@ -1088,6 +1089,8 @@ osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* in camera->addChild( lightingGroup ); + SG_LOG( SG_INPUT, SG_ALERT, "End of harmless warning messages on effects not found" ); + return camera; }