Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
b4138f4d
Commit
b4138f4d
authored
Sep 11, 2015
by
Peter Karasev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STY: fix vtkErrorMacro and linelength
parent
2f6915f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx
Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx
+2
-1
No files found.
Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx
View file @
b4138f4d
...
...
@@ -692,7 +692,8 @@ void vtkWin32OpenGLRenderWindow::SetupPixelFormatPaletteAndContext(
if
(
!
(
pfd2
.
dwFlags
&
PFD_SUPPORT_OPENGL
))
{
// @note see https://msdn.microsoft.com/en-us/library/windows/desktop/dd369049(v=vs.85).aspx
// "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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment