Commit b4138f4d authored by Peter Karasev's avatar Peter Karasev

STY: fix vtkErrorMacro and linelength

parent 2f6915f6
......@@ -692,7 +692,8 @@ void vtkWin32OpenGLRenderWindow::SetupPixelFormatPaletteAndContext(
if (!(pfd2.dwFlags & PFD_SUPPORT_OPENGL))
{ // @note see
// "Once a window's pixel format is set, it cannot be changed."
vtkErrorWithObjectMacro(this," call to DescribePixelFormat failed. Illegal duplicate invocation or no OpenGL support.");
vtkErrorMacro("Call to DescribePixelFormat failed. "
"Illegal duplicate invocation or no OpenGL support.");
if (this->HasObserver(vtkCommand::ExitEvent))
this->InvokeEvent(vtkCommand::ExitEvent, NULL);
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