Skip to content
Snippets Groups Projects
Commit 5fa3bcd4 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

plugin AnalyseCurvedMesh : #ifdef HAVE_OPENGL around drawContext

parent 0f4315c7
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,11 @@ ...@@ -10,7 +10,11 @@
#include "polynomialBasis.h" #include "polynomialBasis.h"
#include "AnalyseCurvedMesh.h" #include "AnalyseCurvedMesh.h"
#include "Context.h" #include "Context.h"
#if defined(HAVE_OPENGL)
#include "drawContext.h" #include "drawContext.h"
#endif
#include "OS.h" #include "OS.h"
#if defined(HAVE_FLTK) #if defined(HAVE_FLTK)
...@@ -568,7 +572,9 @@ void GMSH_AnalyseCurvedMeshPlugin::checkValidity(int toDo) ...@@ -568,7 +572,9 @@ void GMSH_AnalyseCurvedMeshPlugin::checkValidity(int toDo)
hideValid_ShowInvalid(invalids); hideValid_ShowInvalid(invalids);
CTX::instance()->mesh.changed = (ENT_ALL); CTX::instance()->mesh.changed = (ENT_ALL);
FlGui::instance()->check(); FlGui::instance()->check();
#if defined(HAVE_OPENGL)
drawContext::global()->draw(); drawContext::global()->draw();
#endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment