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

This commit is contained in:
2015-11-26 21:42:43 +00:00
parent 4cbcbb5174
commit 59eb135a60
14 changed files with 419 additions and 42861 deletions

View File

@@ -24,7 +24,7 @@ QGLView::QGLView(QWidget * parent): QGraphicsView(parent), fbo_selection(3) {
setViewportUpdateMode(FullViewportUpdate);
setCacheMode(CacheNone);
QGLFormat f(QGL::DoubleBuffer | QGL::DepthBuffer | QGL::Rgba | QGL::AlphaChannel | QGL::DirectRendering | QGL::SampleBuffers);
f.setSwapInterval(0);
f.setSwapInterval(1);
setViewport(new QGLWidget(f));
setMouseTracking(true);
setFocusPolicy(Qt::WheelFocus);