From Thibault Genessay, "Attached is an unitialized variable fix I spotted with Purify. The _currentCursor (of type HCURSOR) member of the graphics window was not properly initialized, causing potential problems if setCursor() was called before anything else set it."
This commit is contained in:
@@ -960,6 +960,7 @@ GraphicsWindowWin32::GraphicsWindowWin32( osg::GraphicsContext::Traits* traits )
|
||||
: _hwnd(0),
|
||||
_hdc(0),
|
||||
_hglrc(0),
|
||||
_currentCursor(0),
|
||||
_windowProcedure(0),
|
||||
_timeOfLastCheckEvents(-1.0),
|
||||
_screenOriginX(0),
|
||||
|
||||
Reference in New Issue
Block a user