From e91f5a5b0a1e2fb28af6806c96ce039982390cd5 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Tue, 9 Dec 2025 17:32:22 +0000 Subject: [PATCH] Reformat comment to appease fascist Clang tool --- apps/opencs/view/render/scenewidget.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/opencs/view/render/scenewidget.cpp b/apps/opencs/view/render/scenewidget.cpp index edb75cbd25..3a8a22a50f 100644 --- a/apps/opencs/view/render/scenewidget.cpp +++ b/apps/opencs/view/render/scenewidget.cpp @@ -72,9 +72,11 @@ namespace CSVRender mWidget = new osgQOpenGLWidget(this); - // not the most idiomatic place to do this, but osgQt needs its guts rearranging to do things properly - // we *should* be setting this on the default osg::DisplaySettings instance (or relying on the fact that we want the default) or the View's instance - // then osgQt should, but doesn't, use that to create a GraphicsTraits instance, and propagate the details from that to Qt for us + // Not the most idiomatic place to do this, but osgQt needs its guts rearranging to do things properly. + // We *should* be setting this (or relying on the fact that we want the default value) on the default + // osg::DisplaySettings instance or the View's instance. + // Then osgQt should, but doesn't, use that to create a GraphicsTraits instance, and propagate the details from + // that to Qt for us. mWidget->setTextureFormat(GL_RGB8); mRenderer = mWidget->getCompositeViewer();