OpenGL surfaces frozen (QGLWidget)
Hi,
I have a problem with QGLWidgets, and it seems to be something related to one specific Pc, since my project works properly in other Pcs.
I use:
Qt 4.8.3
Windows 7
Graphic Card: Intel GMA 3000
I can create several OpenGL surfaces, BUT when I close the last one created (that seems to be the pattern), all previously created surfaces get frozen. If then I create a new one, all of them get unfrozen and all works properly again.
For example, this code in my application works:
Code:
bool MyClass::init()
{
...
{
[do something with w1]
}
[application works, w1 is NOT frozen]
...
}
But with this code my OpenGL surfaces get frozen, since w2 is deleted...
Code:
bool MyClass::init()
{
...
{
[do something with w1]
}
{
}
[w1 IS frozen]
...
}
I hope someone could help me...
Thanks in advance,
Diego
Re: OpenGL surfaces frozen (QGLWidget)
I would assume you have broken OpenGL drivers for your graphics chip.
Re: OpenGL surfaces frozen (QGLWidget)
You don't really mean you're creating a QGLWidget on the stack, do you?
Re: OpenGL surfaces frozen (QGLWidget)
I think he is. The point is that the widget is created and deleted.