From 8a8015c41cf1ea63369f11f38303129f12451935 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 9 Mar 2002 10:53:19 +0000 Subject: [PATCH] Fixed setWindowWidth call to account for width and height correctly. --- src/osgGLUT/Viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgGLUT/Viewer.cpp b/src/osgGLUT/Viewer.cpp index 66e286492..7b8685539 100644 --- a/src/osgGLUT/Viewer.cpp +++ b/src/osgGLUT/Viewer.cpp @@ -165,7 +165,7 @@ bool Viewer::open() selectCameraManipulator(0,index); } - GLUTEventAdapter::setWindowSize( _wx, _wy, _ww, _wh ); + GLUTEventAdapter::setWindowSize( _wx, _wy, _wx+_ww, _wx+_wh ); GLUTEventAdapter::setButtonMask(0);