Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture.
This commit is contained in:
parent
487af07753
commit
ca0a556579
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user