<div>A few users including myself were getting the same error upon</div>
<div>closing an opengl render window. For me, calling:</div>
<div><font size="2"></font> </div>
<div><font size="2"> Finalize();</font></div>
<div><font size="2"></font> </div>
<div><font size="2">on the render window when the parent was closing fixed the </font></div>
<div><font size="2">problem. </font><font size="2">T</font><font size="2">his was in an MFC project, but maybe the same</font></div>
<div><font size="2">method will work for you. If you search the VTK user archives</font></div>
<div><font size="2">you will find some more detailed information about why this</font></div>
<div><font size="2">is happening,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Mark </font></div><br><br>
<div><span class="gmail_quote">On 1/9/06, <b class="gmail_sendername">Yoan Blanc</b> <<a href="mailto:greut.lists@dosimple.ch">greut.lists@dosimple.ch</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>Some errors becomes when I try to delete the wxVTKRenderWindow. I delete<br>the parent that contains the render, a
wx.Panel.<br><br>ERROR: In C:\VTK\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 216<br>vtkWin32OpenGLRenderWindow (09583450): wglMakeCurrent failed in<br>MakeCurrent(), error: Descripteur non valide<br><br>ERROR: In C:\VTK\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 125
<br>vtkWin32OpenGLRenderWindow (09583450): wglMakeCurrent failed in Clean(),<br>error: 6<br><br>Can somebody help me.<br><br>Thx<br><br>Yoan<br>_______________________________________________<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>