git-svn-id: svn://db.shs.com.ru/libs@538 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-05-27 08:54:02 +00:00
parent 5d4eab2341
commit 326d8bbd66

View File

@@ -539,6 +539,7 @@ void QGLView::applyFog() {
void QGLView::resizeGL(int width, int height) {
if (!is_init) return;
if (width <= 0 || height <= 0) return;
aspect = double(width) / double(height);
if (renderer_) renderer_->resize(width, height);
//qDebug() << "resize" << width << height;