From 441490f4dbf1ccc0fbd332d6789d8630428037a5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 2 Feb 2009 22:32:59 +0000
Subject: [PATCH] fix build

---
 Graphics/drawPost.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp
index 8a0c975d9c..a3a6c15e5b 100644
--- a/Graphics/drawPost.cpp
+++ b/Graphics/drawPost.cpp
@@ -23,10 +23,9 @@
 #include "matheval.h"
 #endif
 
-
-extern Context_T CTX;
-//KH: enlarged size to allow for 4th order mappings (tets)
-#define NMAX 35
+// we only "really" draw forst order elements (high order ones are
+// subdivided in adaptiveView beforehand)
+#define NMAX 20
 
 static void saturate(int nb, double val[NMAX][9], double vmin, double vmax, 
 		     int i0=0, int i1=1, int i2=2, int i3=3, 
-- 
GitLab