Why glClear is clearing other instance buffer also

I have created two instances of Squircle item in main qml

First instance have size 500,500 alignment in center to screen

Second instance have size of screen size alignment to complete screen

Only one thing will play at a time but But during first instance player play I could not see video because second instance player glviewport covering complete screen and its clearing because paint is getting alway its is connected to beforeRendering signal

[ATTACH=CONFIG]1362[/ATTACH]

could some one help me out of this.

This version of your question is less clear than the one you posted on Stack Overflow. At least there you posted your source code.

It’s still not clear what you mean by the word “instance”, or what “video” you are trying to play. Overall, you have not made it clear what you’re trying to do, or what you’re seeing that isn’t working the way you think it ought to.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.