fix vector region style on osx (#2105)
This commit is contained in:
parent
7a435f47d1
commit
a86fd8f80a
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ void QtOfflineGL::createContext(TDimension rasterSize,
|
|||
m_context->makeCurrent(m_surface.get());
|
||||
|
||||
QOpenGLFramebufferObjectFormat fbo_format;
|
||||
fbo_format.setAttachment(QOpenGLFramebufferObject::CombinedDepthStencil);
|
||||
m_fbo = std::make_shared<QOpenGLFramebufferObject>(rasterSize.lx,
|
||||
rasterSize.ly, fbo_format);
|
||||
m_fbo->bind();
|
||||
|
|
Loading…
Reference in a new issue