报错信息是QOpenGLShaderProgram::addShader: Program and shader are not associated with same context.
QOpenGLTexturePrivate::destroy() called but texture context 0x1d1a5696040 is not shared with current context 0x1d1a686fd40.
Texture has not been destroyed
有人遇到过这个错误吗,怎么解决,求指点。
...全文
14684打赏收藏
qt中使用qopenglwidget出现的问题,导致程序崩溃。
报错信息是QOpenGLShaderProgram::addShader: Program and shader are not associated with same context. QOpenGLTexturePrivate::destroy() called but texture context 0x1d1a5696040 is not shared with current context 0x1d1a686fd40. Texture has not been destroyed