Made OSX default to using single threaded keyboard mouse.

This commit is contained in:
Robert Osfield 2005-05-06 14:28:43 +00:00
parent ccafa6b125
commit 2ea6de3d0b

View File

@ -25,6 +25,11 @@ using namespace Producer;
using namespace osgProducer; using namespace osgProducer;
using namespace osg; using namespace osg;
#ifdef __APPLE__
#define SINGLE_THREAD_KEYBOARDMOUSE
#endif
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// //
// Picking intersection visitor. // Picking intersection visitor.
@ -604,8 +609,6 @@ public:
} }
}; };
//#define SINGLE_THREAD_KEYBOARDMOUSE
bool Viewer::realize() bool Viewer::realize()
{ {
if (_realized) return _realized; if (_realized) return _realized;