From 5a00a60306340587790cb87bdf4aea6f3638a875 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 13 Aug 2016 06:59:23 +0000 Subject: [PATCH] fixme fix --- Graphics/drawContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Graphics/drawContext.cpp b/Graphics/drawContext.cpp index 0827f40e35..19386228b3 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 -- GitLab