Added a workaround for computing the time of an event.

This commit is contained in:
Robert Osfield
2007-01-05 13:01:08 +00:00
parent 3d1c971bca
commit 23ac972d4e
2 changed files with 45 additions and 17 deletions

View File

@@ -44,7 +44,8 @@ class GraphicsWindowX11 : public osgViewer::GraphicsWindow
_nullCursor(0),
_currentCursor(0),
_initialized(false),
_realized(false)
_realized(false),
_timeOfLastCheckEvents(-1.0)
{
_traits = traits;
@@ -129,6 +130,8 @@ class GraphicsWindowX11 : public osgViewer::GraphicsWindow
bool _initialized;
bool _realized;
double _timeOfLastCheckEvents;
};
}