Commit 07b2c761 authored by Ken Martin's avatar Ken Martin

add some opengl debugging info when a test fails

For tests that use a render window, if it fails report on the
renderwindow capabilities. This will include the OpenGL
driver and version etc.
parent b0ca2c21
......@@ -416,6 +416,12 @@ int vtkTesting::RegressionTest(double thresh, ostream &os)
// we failed both back and front buffers so
// to help us debug, write out renderwindow capabilities
if (this->RenderWindow)
os << this->RenderWindow->ReportCapabilities();
return this->RegressionTest(rtW2if.Get(), thresh, os);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment