Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix vector region style on osx (#2105)

shun-iwasawaa86fd8f80a1a
diff --git a/toonz/sources/common/tvrender/qtofflinegl.cpp b/toonz/sources/common/tvrender/qtofflinegl.cpp
index b11b351aa..8ba57716d 100644
--- a/toonz/sources/common/tvrender/qtofflinegl.cpp
+++ b/toonz/sources/common/tvrender/qtofflinegl.cpp
@@ -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();