Skip to content

Commit cae4eb1

Browse files
martinkenkwrobot
authored andcommitted
Merge topic 'fix_opengl_debug_message'
b18fbba incorrect order or arguments Acked-by: Kitware Robot <[email protected]> Merge-request: !5355
2 parents 79f39ea + b18fbba commit cae4eb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rendering/OpenGL2/vtkOpenGLRenderUtilities.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ void vtkOpenGLRenderUtilities::MarkDebugEvent(const std::string &event)
232232
#else // VTK_OPENGL_ENABLE_STREAM_ANNOTATIONS
233233
vtkOpenGLStaticCheckErrorMacro("Error before glDebugMessageInsert.")
234234
glDebugMessageInsert(GL_DEBUG_SOURCE_APPLICATION, GL_DEBUG_TYPE_OTHER,
235-
GL_DEBUG_SEVERITY_NOTIFICATION,
236-
0, static_cast<GLsizei>(event.size()), event.c_str());
235+
0, GL_DEBUG_SEVERITY_NOTIFICATION,
236+
static_cast<GLsizei>(event.size()), event.c_str());
237237
vtkOpenGLClearErrorMacro();
238238
#endif // VTK_OPENGL_ENABLE_STREAM_ANNOTATIONS
239239
}

0 commit comments

Comments
 (0)