aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/WidgetInfo.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index 0660ccd..e5f7752 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -33,10 +33,8 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#ifdef GLX
#include <GL/glx.h>
#include <GL/glu.h>
-#endif
#include "Item.h"
#include "Transfo.h"
@@ -180,13 +178,13 @@ 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;
#endif
+ GLUtesselator *tess;
+ ZnCombineData *tess_combine_list;
+ int tess_type;
Pixmap draw_buffer; /* Pixmap for double buffering */
ZnBBox damaged_area; /* The current damaged rectangle */
GC gc;