From ae81b4f7ab644ab561c248ab55a67b01313a5239 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 14 Mar 2001 15:27:31 +0000 Subject: Modifs pour int�grer le test de GLX. --- generic/WidgetInfo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'generic/WidgetInfo.h') diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h index 16e27c8..ba3e780 100644 --- a/generic/WidgetInfo.h +++ b/generic/WidgetInfo.h @@ -36,6 +36,9 @@ #ifdef SHM #include #endif +#ifdef GLX +#include +#endif #include "Item.h" #include "Transfo.h" @@ -194,9 +197,14 @@ typedef struct _WidgetInfo { RenderBuf buf; #endif #endif +#ifdef GLX + GLXContext gl_context; + XVisualInfo *gl_visual; +#endif Pixmap draw_buffer; /* Pixmap for double buffering */ ZnBBox damaged_area; /* The current damaged rectangle */ GC gc; + ZnBool has_glx; /* Tell if openGL can be used. */ ZnBool has_x_shm; /* Tell if the SHM X11 ext is avail. */ ZnBool has_x_shape; /* Tell if the X shape ext. is avail. */ ZnBool has_x_input; /* Tell if the X input ext. is avail. */ -- cgit v1.1