diff --git a/Graphics/drawContext.cpp b/Graphics/drawContext.cpp index d9eabed5ceec0a778b751ad200d0a4f4217fd482..0827f40e35794c9300ec9196816d52af3236dddb 100644 --- a/Graphics/drawContext.cpp +++ b/Graphics/drawContext.cpp @@ -277,7 +277,7 @@ void drawContext::draw3d() CTX::instance()->polygonOffset = 0; // speedup drawing of textured fonts on cocoa mac version -#if defined(HAVE_FLTK) && defined(__APPLE__) && defined(HAVE_64BIT_SIZE_T) +#if defined(HAVE_FLTK) && defined(__APPLE__) int numStrings = GModel::current()->getNumVertices(); if(CTX::instance()->mesh.pointsNum) numStrings = std::max(numStrings, GModel::current()->getNumMeshVertices()); diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp index 1a27bb913d30203a575362e8b888b2a63ccdc521..cdcea4a6a69dd59ae3930bef839020878ed14f65 100644 --- a/Graphics/drawPost.cpp +++ b/Graphics/drawPost.cpp @@ -301,7 +301,7 @@ static void drawGlyphs(drawContext *ctx, PView *p) Msg::Debug("drawing extra glyphs (this is slow...)"); // speedup drawing of textured fonts on cocoa mac version -#if defined(HAVE_FLTK) && defined(__APPLE__) && defined(HAVE_64BIT_SIZE_T) +#if defined(HAVE_FLTK) && defined(__APPLE__) if(opt->intervalsType == PViewOptions::Numeric){ int numStrings = 0; for(int ent = 0; ent < data->getNumEntities(opt->timeStep); ent++)