aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
authorlecoanet2002-11-05 09:42:06 +0000
committerlecoanet2002-11-05 09:42:06 +0000
commitee79858f957935d9590709971b54f0559299c16a (patch)
treefd6c4e41e577618010317e20c7506473fb0f7d7a /generic/WidgetInfo.h
parent88d81d622853ce83a79df6394ac4946870d38b43 (diff)
downloadtkzinc-ee79858f957935d9590709971b54f0559299c16a.zip
tkzinc-ee79858f957935d9590709971b54f0559299c16a.tar.gz
tkzinc-ee79858f957935d9590709971b54f0559299c16a.tar.bz2
tkzinc-ee79858f957935d9590709971b54f0559299c16a.tar.xz
Ajout de variables d'�tat pour g�rer le tesselateur GLU.
Diffstat (limited to 'generic/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index a3370ca..0660ccd 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -35,6 +35,7 @@
#include <X11/Xutil.h>
#ifdef GLX
#include <GL/glx.h>
+#include <GL/glu.h>
#endif
#include "Item.h"
@@ -179,6 +180,9 @@ typedef struct _WidgetInfo {
ZnBool realized;
#ifdef GLX
GLXContext gl_context;
+ GLUtesselator *tess;
+ ZnCombineData *tess_combine_list;
+ int tess_type;
XVisualInfo *gl_visual;
ZnReal max_line_width;
ZnReal max_point_width;