1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-24 14:53:08 +00:00

Reformat comment to appease fascist Clang tool

This commit is contained in:
AnyOldName3 2025-12-09 17:32:22 +00:00
parent bd685d672d
commit e91f5a5b0a

View file

@ -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();