Fixed build error associated with change of type of getInterface()
This commit is contained in:
parent
10a89ae0c5
commit
037de9bd20
@ -1546,7 +1546,7 @@ bool GraphicsWindowWin32::determineWindowPositionAndStyle( unsigned int screenN
|
|||||||
//
|
//
|
||||||
|
|
||||||
osg::GraphicsContext::ScreenIdentifier screenId(screenNum);
|
osg::GraphicsContext::ScreenIdentifier screenId(screenNum);
|
||||||
Win32WindowingSystem* windowManager = Win32WindowingSystem::getInterface();
|
osg::ref_ptr<Win32WindowingSystem> windowManager = Win32WindowingSystem::getInterface();
|
||||||
|
|
||||||
windowManager->getScreenPosition(screenId, _screenOriginX, _screenOriginY, _screenWidth, _screenHeight);
|
windowManager->getScreenPosition(screenId, _screenOriginX, _screenOriginY, _screenWidth, _screenHeight);
|
||||||
if (_screenWidth==0 || _screenHeight==0) return false;
|
if (_screenWidth==0 || _screenHeight==0) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user