0 filling of the FBO in the OpenGL path

This commit is contained in:
Uwe Rathmann 2019-10-28 09:41:12 +01:00
parent 183b947f17
commit 93e8009c78

View File

@ -42,6 +42,10 @@ static uint qskCreateTextureOpenGL(
{
QPainter painter( &pd );
painter.setCompositionMode( QPainter::CompositionMode_Source );
painter.fillRect( 0, 0, width, height, Qt::transparent );
painter.setCompositionMode( QPainter::CompositionMode_SourceOver );
helper->paint( &painter, size );
#if 1