From 037de9bd20a77c1e66ccac9428dd253625b53372 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 19 May 2016 14:26:48 +0100 Subject: [PATCH] Fixed build error associated with change of type of getInterface() --- src/osgViewer/GraphicsWindowWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgViewer/GraphicsWindowWin32.cpp b/src/osgViewer/GraphicsWindowWin32.cpp index b9431c256..6b48342dc 100644 --- a/src/osgViewer/GraphicsWindowWin32.cpp +++ b/src/osgViewer/GraphicsWindowWin32.cpp @@ -1546,7 +1546,7 @@ bool GraphicsWindowWin32::determineWindowPositionAndStyle( unsigned int screenN // osg::GraphicsContext::ScreenIdentifier screenId(screenNum); - Win32WindowingSystem* windowManager = Win32WindowingSystem::getInterface(); + osg::ref_ptr windowManager = Win32WindowingSystem::getInterface(); windowManager->getScreenPosition(screenId, _screenOriginX, _screenOriginY, _screenWidth, _screenHeight); if (_screenWidth==0 || _screenHeight==0) return false;