Merge branch 'uwerat-master' into material-theme

This commit is contained in:
Peter Hartmann 2022-06-14 09:28:52 +02:00
commit 03512e03c0

View File

@ -158,6 +158,18 @@ quint32 QskTextureRenderer::createPaintedTextureGL(
painter.scale( ratio, ratio );
helper->paint( &painter, size / ratio );
#if 1
if ( format1.samples() > 0 )
{
/*
Multisampling in the window surface might get lost
as a side effect of rendering to the FBO.
weired, needs to be investigated more
*/
painter.setRenderHint( QPainter::Antialiasing, true );
}
#endif
}
QOpenGLFramebufferObjectFormat format2;