OpenToonz - An open-source full-featured 2D animation creation software
C
Fix/Workaround bug #591
Campbell Barton4cdcb009efbf
diff --git a/toonz/sources/toonzlib/stagevisitor.cpp b/toonz/sources/toonzlib/stagevisitor.cppindex f3746ab22..dc256dbbd 100644--- a/toonz/sources/toonzlib/stagevisitor.cpp+++ b/toonz/sources/toonzlib/stagevisitor.cpp@@ -602,6 +602,9 @@ void RasterPainter::flushRasterImages() {glDisable(GL_DITHER);glDisable(GL_LOGIC_OP);+/* disable, since these features are never enabled, and cause OpenGL to assert+ * on systems that don't support them: see #591 */+#if 0#ifdef GL_EXT_convolutionglDisable(GL_CONVOLUTION_1D_EXT);glDisable(GL_CONVOLUTION_2D_EXT);@@ -612,6 +615,7 @@ void RasterPainter::flushRasterImages() {glDisable(GL_HISTOGRAM_EXT);glDisable(GL_MINMAX_EXT);#endif+#endif#ifdef GL_EXT_texture3DglDisable(GL_TEXTURE_3D_EXT);