git-svn-id: svn://db.shs.com.ru/libs@538 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user