Skip to content

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

C

Correct define check

Campbell Barton5f15dd37240d
diff --git a/toonz/sources/common/tvrender/qtofflinegl.cpp b/toonz/sources/common/tvrender/qtofflinegl.cpp
index 0ef487ebd..ce83cddd4 100644
--- a/toonz/sources/common/tvrender/qtofflinegl.cpp
+++ b/toonz/sources/common/tvrender/qtofflinegl.cpp
@@ -279,7 +279,7 @@ SPECIFICHE MAC = depth_size 24, stencil_size 8, alpha_size 1
QGLFormat fmt;
-#ifdef defined(_WIN32)
+#if defined(_WIN32)
fmt.setAlphaBufferSize(8);
fmt.setAlpha(false);
fmt.setRgba(true);