My application throws an OpenGL error after using sometime.
Unsolved
Qt Medical
-
Hi, I have created an application where I render some images in my application. I render the images using vtk libraries. I am able to render the image and the application works perfectly fine. With continously working on the application like changing and rendering different images, all of a sudden after sometime the images does not render properly and it shows some glitches. But the application does not crash and I am also able to use the other options in the application except the image rendering which causes some glitches. When I checked the log message, I came across the following error.
CRT : ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) for format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile), shared context: 0x20004 (The operation completed successfully.) CRT : GDI::createContext: wglCreateContext failed. (Unknown error 0xc00705aa.) WRN default: Unable to create a GL Context. WRN default: QOpenGLWidget: Failed to create context
It is weird that this error occurs after sometime. Can someone please explain me, What went wrong?.
TIA.