Home > Mobile >  Used in qt qopenglwidget problems, causing the program crashes.
Used in qt qopenglwidget problems, causing the program crashes.

Time:04-23

Error message is QOpenGLShaderProgram: : addShader: Program and shader are not associated with the same context.

QOpenGLTexturePrivate: : destroy () called but texture context 0 x1d1a5696040 is not Shared with the current context 0 x1d1a686fd40.
Texture from the then destroyed
Someone met this error, please, how to solve, seek advice,

CodePudding user response:

No code not clear Texture Texture resources according to the error message check addShader check release

CodePudding user response:

reference 1/f, mango black response:
no code not clear Texture Texture resources according to the error message check addShader check release it

QOpenGLTexturePrivate: : destroy () called but texture context 0 x1d1a5696040 is not Shared with the current context 0 x1d1a686fd40.
The mistake you know what reason be?
  •  Tags:  
  • Qt
  • Related