git-svn-id: svn://db.shs.com.ru/libs@58 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -139,7 +139,7 @@ void QGLView::drawBackground(QPainter * painter, const QRectF & rect) {
|
||||
|
||||
|
||||
void QGLView::initializeGL() {
|
||||
qDebug() << "init glview";
|
||||
//qDebug() << "init glview";
|
||||
makeCurrent();
|
||||
currentQGLView = (QGLWidget * )viewport();
|
||||
currentGLTextureManager = &textures_manager;
|
||||
@@ -509,7 +509,7 @@ void QGLView::resizeGL(int width, int height) {
|
||||
if (!is_init) return;
|
||||
aspect = double(width) / double(height);
|
||||
if (renderer_ != 0) renderer_->resize(width, height);
|
||||
qDebug() << "resize" << width << height;
|
||||
//qDebug() << "resize" << width << height;
|
||||
fbo_selection.resize(width, height);
|
||||
mouse_first = true;
|
||||
iaspect = (aspect == 0.) ? 0. : 1 / aspect;
|
||||
|
||||
Reference in New Issue
Block a user