Home > Mobile > I use QOpenGLWidget controls for rendering images appear black screen what reason be
I use QOpenGLWidget controls for rendering images appear black screen what reason be
Time:04-16
I use in qt textures and shaders to continuous rendering image, he had written a demo use timer can continuous rendering images, and then when I was integrated into the project has been rendering black screen, have to know to help analyze the reason, how to solve,
CodePudding user response:
Project if there are multiple OpenGLwidget, need to make sure that the context is consistent, may also be qtOpenGL full screen bug "full screen, glviewport need a little", I feel you should be hard to meet these problems, the most direct is likely to be the problems of your drawing details
CodePudding user response:
Is my texture the possibility of a problem is big, or the possibility of shader code out of the question,