From b4a2114fd4646b3ab0ff729131820ae61293ec2e Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sun, 18 Feb 2018 18:13:27 +0100 Subject: [PATCH 1/2] singlewindow: minor log output fix log message made it look like it originated from View::setUpViewOnSingleScreen --- src/osgViewer/config/SingleWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgViewer/config/SingleWindow.cpp b/src/osgViewer/config/SingleWindow.cpp index 3a1ce6349..1cd531623 100644 --- a/src/osgViewer/config/SingleWindow.cpp +++ b/src/osgViewer/config/SingleWindow.cpp @@ -76,12 +76,12 @@ void SingleWindow::configure(osgViewer::View& view) const osgViewer::GraphicsWindow* gw = dynamic_cast(gc.get()); if (gw) { - OSG_INFO<<"View::setUpViewOnSingleScreen - GraphicsWindow has been created successfully."<getEventQueue()->getCurrentEventState()->setWindowRectangle(traits->x, traits->y, traits->width, traits->height ); } else { - OSG_NOTICE<<" GraphicsWindow has not been created successfully."< Date: Sun, 18 Feb 2018 18:15:19 +0100 Subject: [PATCH 2/2] renderstage: fix spelling in log message --- src/osgUtil/RenderStage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgUtil/RenderStage.cpp b/src/osgUtil/RenderStage.cpp index 873a136ac..26a4eb184 100644 --- a/src/osgUtil/RenderStage.cpp +++ b/src/osgUtil/RenderStage.cpp @@ -758,7 +758,7 @@ void RenderStage::runCameraSetUp(osg::RenderInfo& renderInfo) if (pBufferTexture && renderTargetImplementation==osg::Camera::PIXEL_BUFFER_RTT) { - OSG_INFO<<"RenderStage::runCameraSetUp(State&) Assign graphis context to Texture"<setReadPBuffer(context.get()); } else