vaibhav
27th July 2011, 13:09
Hi,
I want to use the double buffering in QT for QGLwidget.
Do i have to set some flags to have this feature or by default QGLWIdget has double buffering ON.?
I tried to use setFormat(QGLFormat(QGL::DoubleBuffer | QGL::DepthBuffer));
But i could see this method is obsolete .
Any help would be appreciated.
I want to use the double buffering in QT for QGLwidget.
Do i have to set some flags to have this feature or by default QGLWIdget has double buffering ON.?
I tried to use setFormat(QGLFormat(QGL::DoubleBuffer | QGL::DepthBuffer));
But i could see this method is obsolete .
Any help would be appreciated.