From ca0a556579329b603a2e4995b2eed4fa829a9620 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 2 Dec 2010 09:39:31 +0000 Subject: [PATCH] Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. --- src/osgViewer/PixelBufferWin32.cpp | 2 -- 1 file changed, 2 deletions(-) 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);