Skip to content
Snippets Groups Projects
Commit 7b2eb6b7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

HAVE_64BIT_SIZE_T is not defined anymore !?

parent 6ccaab77
Branches
Tags
No related merge requests found
...@@ -277,7 +277,7 @@ void drawContext::draw3d() ...@@ -277,7 +277,7 @@ void drawContext::draw3d()
CTX::instance()->polygonOffset = 0; CTX::instance()->polygonOffset = 0;
// speedup drawing of textured fonts on cocoa mac version // 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(); int numStrings = GModel::current()->getNumVertices();
if(CTX::instance()->mesh.pointsNum) if(CTX::instance()->mesh.pointsNum)
numStrings = std::max(numStrings, GModel::current()->getNumMeshVertices()); numStrings = std::max(numStrings, GModel::current()->getNumMeshVertices());
......
...@@ -301,7 +301,7 @@ static void drawGlyphs(drawContext *ctx, PView *p) ...@@ -301,7 +301,7 @@ static void drawGlyphs(drawContext *ctx, PView *p)
Msg::Debug("drawing extra glyphs (this is slow...)"); Msg::Debug("drawing extra glyphs (this is slow...)");
// speedup drawing of textured fonts on cocoa mac version // 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){ if(opt->intervalsType == PViewOptions::Numeric){
int numStrings = 0; int numStrings = 0;
for(int ent = 0; ent < data->getNumEntities(opt->timeStep); ent++) for(int ent = 0; ent < data->getNumEntities(opt->timeStep); ent++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment