diff --git a/Graphics/drawContext.cpp b/Graphics/drawContext.cpp index 0827f40e35794c9300ec9196816d52af3236dddb..19386228b30170e5b33081928e6cdb2d61593c37 100644 --- a/Graphics/drawContext.cpp +++ b/Graphics/drawContext.cpp @@ -285,6 +285,8 @@ void drawContext::draw3d() CTX::instance()->mesh.volumesNum) numStrings = std::max(numStrings, GModel::current()->getNumMeshElements()); numStrings *= 2; + // FIXME: restting to 1 each time to workaround bug on recent MacOS versions + gl_texture_pile_height(1); if(gl_texture_pile_height() < numStrings) gl_texture_pile_height(numStrings); #endif