View Full Version : why glClear is clearing other instance buffer also

03-10-2016, 08:34 AM
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


could some one help me out of this.

Alfonse Reinheart
03-10-2016, 09:09 AM
This version of your question is less clear than the one you posted on Stack Overflow (http://stackoverflow.com/questions/35917118/why-glclear-is-clearing-other-instance-buffer-also). 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.