Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture.

This commit is contained in:
Robert Osfield 2010-12-02 09:39:31 +00:00
parent 487af07753
commit ca0a556579

View File

@ -654,8 +654,6 @@ bool PixelBufferWin32::realizeImplementation()
if (!_initialized) return false; if (!_initialized) return false;
makeCurrentImplementation();
if ( _traits->sharedContext ) if ( _traits->sharedContext )
{ {
GraphicsHandleWin32* graphicsHandleWin32 = dynamic_cast<GraphicsHandleWin32*>(_traits->sharedContext); GraphicsHandleWin32* graphicsHandleWin32 = dynamic_cast<GraphicsHandleWin32*>(_traits->sharedContext);