Skip to content

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

C

Fix for mac

Jeremy Bullock5b52af43429f
diff --git a/toonz/sources/stdfx/shadingcontext.cpp b/toonz/sources/stdfx/shadingcontext.cpp
index f298e3c95..ff8ae0d02 100644
--- a/toonz/sources/stdfx/shadingcontext.cpp
+++ b/toonz/sources/stdfx/shadingcontext.cpp
@@ -91,7 +91,7 @@ QSurfaceFormat ShadingContext::Imp::format() {
#ifdef MACOSX
fmt.setVersion(3, 2);
- fmt.setProfile(QGLFormat::CompatibilityProfile);
+ fmt.setProfile(QSurfaceFormat::CompatibilityProfile);
#endif
return fmt;