diff --git a/src/osgViewer/PixelBufferWin32.cpp b/src/osgViewer/PixelBufferWin32.cpp index 59e738eea..5cd6e9f73 100644 --- a/src/osgViewer/PixelBufferWin32.cpp +++ b/src/osgViewer/PixelBufferWin32.cpp @@ -654,8 +654,6 @@ bool PixelBufferWin32::realizeImplementation() if (!_initialized) return false; - makeCurrentImplementation(); - if ( _traits->sharedContext ) { GraphicsHandleWin32* graphicsHandleWin32 = dynamic_cast(_traits->sharedContext);