Removed commented out checkEvents calls

This commit is contained in:
Robert Osfield
2007-01-05 12:22:24 +00:00
parent 552bda4cc5
commit 3d1c971bca

View File

@@ -544,11 +544,6 @@ void GraphicsWindowX11::makeCurrentImplementation()
// osg::notify(osg::NOTICE)<<"makeCurrentImplementation "<<this<<" "<<OpenThreads::Thread::CurrentThread()<<std::endl;
// osg::notify(osg::NOTICE)<<" glXMakeCurrent ("<<_display<<","<<_window<<","<<_glxContext<<std::endl;
// checkEvents();
// XFlush(_display);
// XSync(_display,0);
if (glXMakeCurrent( _display, _window, _glxContext ))
{
// osg::notify(osg::NOTICE)<<"makeCurrentImplementation sucessful"<<std::endl;
@@ -611,12 +606,6 @@ void GraphicsWindowX11::swapBuffersImplementation()
// osg::notify(osg::NOTICE)<<"swapBuffersImplementation "<<this<<" "<<OpenThreads::Thread::CurrentThread()<<std::endl;
glXSwapBuffers(_display, _window);
#if 0
checkEvents();
#endif
// glFlush();
}
void GraphicsWindowX11::checkEvents()