0 filling of the FBO in the OpenGL path
This commit is contained in:
parent
183b947f17
commit
93e8009c78
@ -42,6 +42,10 @@ static uint qskCreateTextureOpenGL(
|
|||||||
{
|
{
|
||||||
QPainter painter( &pd );
|
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 );
|
helper->paint( &painter, size );
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user