simplify to define when to use which offscreen rendering method

This commit is contained in:
wmayer
2018-01-07 15:00:40 +01:00
parent e68021029d
commit 292608e466
3 changed files with 1 additions and 17 deletions

View File

@@ -411,11 +411,7 @@ void SoQtOffscreenRenderer::init(const SbViewportRegion & vpr,
this->framebuffer = NULL;
this->numSamples = -1;
this->cache_context = 0;
#if !defined(HAVE_QT5_OPENGL)
this->pbuffer = QGLPixelBuffer::hasOpenGLPbuffers();
#else
this->pbuffer = false;
#endif
}
/*!