OpenToonz - An open-source full-featured 2D animation creation software
C
Merge pull request #525 from ideasman42/linux-opengl-pr
Campbell Barton1c6681c98305
diff --cc toonz/sources/common/tvrender/tofflinegl.cppindex a3d2d4439,4b2d740d0..70eadb0ea--- a/toonz/sources/common/tvrender/tofflinegl.cpp+++ b/toonz/sources/common/tvrender/tofflinegl.cpp@@@ -308,8 -308,13 +308,13 @@@ std::shared_ptr<TOfflineGL::Imp> defaul//-----------------------------------------------------------------------------#elif defined(LINUX)+ namespace {+ // The XScopedLock stuff doesn't seem finished,+ // why not just do the same as with win32 and use a Qt lock??+ static QMutex linuxImpMutex;+ }-class XImplementation : public TOfflineGL::Imp {+class XImplementation final : public TOfflineGL::Imp {public:Display *m_dpy;GLXContext m_context;