1
0
Fork 0

Warn of harmless messages caused by the Rembrandt renderer

This commit is contained in:
Frederic Bouvier 2012-03-25 19:05:10 +02:00
parent 79396655a3
commit 2e735e6234

View file

@ -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;
}