[vtkusers] wglMakeCurrentFailed (even in sample MFC apps!)

Mark Wyszomierski markww at gmail.com
Thu Jun 30 07:33:42 EDT 2005


I just wanted to confirm that calling Finalize() from my
vtkRenderWindow object in my destroy window handler stopped those
wglMakeCurrent dump errors. Maybe this can be added to the MFC
example, it occurred on a variety of ATI cards I used (all Nvidia were
ok).

Thanks!
Mark

On 6/15/05, Amy Squillacote <amy.squillacote at kitware.com> wrote:
> Finalize is a method on vtkRenderWindow, not vtkRenderer.
> 
> - Amy
> 
> At 12:10 PM 6/15/2005, Mark Wyszomierski wrote:
> >Hi Mathieu,
> >
> >Thanks for the response! How did you call Finalize() from vtkRenderer?
> >Finalize()  doesn't seem to be a member function of vtkRenderer. It
> >would be great if this would solve the problem.
> >
> >Thanks!
> >Mark
> >
> >On 6/3/05, mathieu coursolle <mcoursolle at gmail.com> wrote:
> > > Hi,
> > > I got the same problem a few days ago.
> > > I used the Finalize method of the vtkRenderer
> > > as I close the window and it solve the problem.
> > > You may try it.
> > >
> > > MAthieu
> > >
> > > On 6/1/05, Mark Wyszomierski <markww at gmail.com> wrote:
> > > > Hi everyone,
> > > >
> > > > While running the VTK sample MFC apps I get the dreaded wgl error:
> > > >
> > > > ERROR: In .\vtkWin32OpenGLRenderWindow.cxx, line 129
> > > > wglMakeCurrent failed in Clean(), error: 6
> > > >
> > > > This is happening on a machine with an ATI firegl card that's only a
> > > > few months old. The sample apps work fine on my laptop with an ATI
> > > > mobility card that is much more ancient.
> > > >
> > > > Why does this happen? I haven't found any answers in the mailing list
> > sadly.
> > > >
> > > > Thanks,
> > > > Mark
> > > > _______________________________________________
> > > > This is the private VTK discussion list.
> > > > Please keep messages on-topic. Check the FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > > > Follow this link to subscribe/unsubscribe:
> > > > http://www.vtk.org/mailman/listinfo/vtkusers
> > > >
> > >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
> >http://www.vtk.org/Wiki/VTK_FAQ
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
> 
>



More information about the vtkusers mailing list