void QGLWidget::resizeEvent(QResizeEvent *) { Q_D(QGLWidget); if (!isValid()) return; makeCurrent(); if (!d->glcx->initialized()) glInit(); resizeGL(width(), height()); if (d->olcx) { makeOverlayCurrent(); resizeOverlayGL(width(), height()); } }
void QGLWidget::resizeEvent(QResizeEvent *) { Q_D(QGLWidget); if(!isValid()) return; if (!isWindow()) d->glcx->d_func()->update = true; makeCurrent(); if(!d->glcx->initialized()) glInit(); resizeGL(width(), height()); if(d->olcx) { makeOverlayCurrent(); aglUpdateContext((AGLContext)d->olcx); resizeOverlayGL(width(), height()); } }
void DhQGLWidget::DvhresizeOverlayGL(int x1, int x2) { return resizeOverlayGL(x1, x2); }