[vtk-developers] recent Solution: Bug in SetRenderWindow(NULL) => still a bug?
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Dec 11 10:45:57 EST 2003
> Urgh... unless my memory is playing tricks again, each RenderWindow
> should have a valid context, so that MakeCurrent should actually never
> fail.
Charl,
I also think this is a call to MakeCurrent that is making the problem.
But as I said to Dean, I believe this is a duplicate call to
renWin->Delete() that is making the problem.
However I haven't been able to find out why (and actually proove there
is a 2nd call). As I don't have the time to search for this problem, I
might just roll back the change (sorry Ingo).
As a last blind try, Dean could you please try commenting this line (in
vtkOpenGLTexture.cxx):
void vtkOpenGLTexture::ReleaseGraphicsResources(vtkWindow *renWin)
{
if (this->Index && renWin)
{
// ((vtkRenderWindow *) renWin)->MakeCurrent();
And see what happen ?
Mathieu
More information about the vtk-developers
mailing list