aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
authorlecoanet2004-03-23 14:53:46 +0000
committerlecoanet2004-03-23 14:53:46 +0000
commitbfcdb3b51ea88028b63f3f2d9577659e4119d20a (patch)
tree60a2f38988e2719012fbe719cbd19db7d1101f14 /generic/WidgetInfo.h
parentc15cc9537d6c0d2bf6d5417bd96930cae4381162 (diff)
downloadtkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.zip
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.gz
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.bz2
tkzinc-bfcdb3b51ea88028b63f3f2d9577659e4119d20a.tar.xz
Changes related to OpenGL context handling (only one context per display) and patches to avoid using widget structure in image cache */
Diffstat (limited to 'generic/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index 47c209d..926f475 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -201,18 +201,7 @@ typedef struct _ZnWInfo {
Display *dpy; /* The display of the widget window. */
Screen *screen;
Tk_Window win; /* The window of the widget. */
-#ifdef GL
- ZnGLContext gl_context;
-# ifdef _WIN32
- HDC hdc;
- HWND hwnd;
-# else
- XVisualInfo *gl_visual;
-# endif
- ZnReal max_line_width;
- ZnReal max_point_width;
- unsigned int max_tex_size;
-#endif /* GL */
+
GLUtesselator *tess;
ZnCombineData *tess_combine_list;
int tess_type;