Warn of harmless messages caused by the Rembrandt renderer
This commit is contained in:
parent
79396655a3
commit
2e735e6234
1 changed files with 3 additions and 0 deletions
|
@ -903,6 +903,7 @@ const char *fog_frag_src = ""
|
||||||
|
|
||||||
osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* info, osg::GraphicsContext* gc )
|
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;
|
osg::Camera* camera = new osg::Camera;
|
||||||
info->addCamera(flightgear::LIGHTING_CAMERA, camera );
|
info->addCamera(flightgear::LIGHTING_CAMERA, camera );
|
||||||
|
|
||||||
|
@ -1088,6 +1089,8 @@ osg::Camera* FGRenderer::buildDeferredLightingCamera( flightgear::CameraInfo* in
|
||||||
|
|
||||||
camera->addChild( lightingGroup );
|
camera->addChild( lightingGroup );
|
||||||
|
|
||||||
|
SG_LOG( SG_INPUT, SG_ALERT, "End of harmless warning messages on effects not found" );
|
||||||
|
|
||||||
return camera;
|
return camera;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue