jsmith
26th August 2009, 10:20
hi,
i am creating five QGLWidgets on top of thQ QWidget. For every QGLWidget i am writing initializeGL(), resizeGL(), paintGL().
in resizeGL() i am setting ortho for five QGLWidgets differently. But is not setting correctly for all five. It is working fine only for one QGLWidget. can any one help me why this hapening like this.
here i am sending sample code for two QGLWidgets.
i am creating five QGLWidgets on top of thQ QWidget. For every QGLWidget i am writing initializeGL(), resizeGL(), paintGL().
in resizeGL() i am setting ortho for five QGLWidgets differently. But is not setting correctly for all five. It is working fine only for one QGLWidget. can any one help me why this hapening like this.
here i am sending sample code for two QGLWidgets.